Author: pluknet Date: Tue Oct 2 09:19:28 2012 New Revision: 241124 URL: http://svn.freebsd.org/changeset/base/241124
Log: Fix build with DEBUGGING disabled. Modified: head/usr.sbin/cron/cron/cron.c Modified: head/usr.sbin/cron/cron/cron.c ============================================================================== --- head/usr.sbin/cron/cron/cron.c Tue Oct 2 07:14:22 2012 (r241123) +++ head/usr.sbin/cron/cron/cron.c Tue Oct 2 09:19:28 2012 (r241124) @@ -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); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"