Fix build with DEBUGGING disabled.

This commit is contained in:
Sergey Kandaurov 2012-10-02 09:19:28 +00:00
parent 9a974b9024
commit 9281629f0e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241124

View File

@ -51,16 +51,20 @@ struct pidfh *pfh;
static void
usage() {
#if DEBUGGING
char **dflags;
#endif
fprintf(stderr, "usage: cron [-j jitter] [-J rootjitter] "
"[-m mailto] [-s] [-o] [-x debugflag[,...]]\n");
#if DEBUGGING
fprintf(stderr, "\ndebugflags: ");
for(dflags = DebugFlagNames; *dflags; dflags++) {
fprintf(stderr, "%s ", *dflags);
}
fprintf(stderr, "\n");
#endif
exit(ERROR_EXIT);
}