minor debug removal cleanup
authortedu <tedu@openbsd.org>
Fri, 23 Jan 2015 01:03:03 +0000 (01:03 +0000)
committertedu <tedu@openbsd.org>
Fri, 23 Jan 2015 01:03:03 +0000 (01:03 +0000)
usr.sbin/cron/cron.c
usr.sbin/cron/do_command.c

index f307f0e..6de0503 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: cron.c,v 1.49 2015/01/23 01:01:06 tedu Exp $  */
+/*     $OpenBSD: cron.c,v 1.50 2015/01/23 01:03:03 tedu Exp $  */
 
 /* Copyright 1988,1990,1993,1994 by Paul Vixie
  * All rights reserved
@@ -49,9 +49,7 @@ static        double                  batch_maxload = BATCH_MAXLOAD;
 static void
 usage(void) {
 
-       fprintf(stderr, "usage: %s [-n] [-l load_avg] [-x [", ProgramName);
-       fprintf(stderr, "debugging flags (none supported in this build)]");
-       fprintf(stderr, "]\n");
+       fprintf(stderr, "usage: %s [-n] [-l load_avg]\n", ProgramName);
        exit(EXIT_FAILURE);
 }
 
index 6e774f2..f359a54 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: do_command.c,v 1.42 2015/01/23 01:01:06 tedu Exp $    */
+/*     $OpenBSD: do_command.c,v 1.43 2015/01/23 01:03:03 tedu Exp $    */
 
 /* Copyright 1988,1990,1993,1994 by Paul Vixie
  * All rights reserved
@@ -454,7 +454,7 @@ child_process(entry *e, user *u) {
                        break;
                }
                /*
-                * if (WIFSIGNALED(waiter) && WCOREDUMP(waiter))
+               if (WIFSIGNALED(waiter) && WCOREDUMP(waiter))
                        Debug(DPROC, (", dumped core"))
                */
        }