#include <getopt.h>
#define NUMLEN 16 /* arbitrary max len of input size */
-#define MAX_K (((u_int)LONG_MAX + 1) / 1024)
-#define MAX_M (((u_int)LONG_MAX + 1) / (1024*1024))
+#define MAX_K (((u_int)LONG_MAX) / 1024)
+#define MAX_M (((u_int)LONG_MAX) / (1024*1024))
WORKER_BEE, WORKER_BEE, action, sidbuf,
tokenbuf);
}
- execlp(WORKER_BEE, WORKER_BEE, action, "-s", sidbuf,
+ execlp("./"WORKER_BEE, WORKER_BEE, action, "-s", sidbuf,
"-t", tokenbuf, NULL);
errno_msg("execlp of worker bee failed");
(void)dm_respond_event(sid, token, DM_RESP_ABORT,