summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-01-23 01:03:04 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-01-23 01:03:04 +0000
commitdca32feaf100b44df73f309a3b946e6484e2ed1d (patch)
treec94ceb8353993892f7d4b2d443f60229d617b43b
parentdee4cfd2ce2f0d15341a46a86df24b241ff196c0 (diff)
minor debug removal cleanup
-rw-r--r--usr.sbin/cron/cron.c6
-rw-r--r--usr.sbin/cron/do_command.c4
2 files changed, 4 insertions, 6 deletions
diff --git a/usr.sbin/cron/cron.c b/usr.sbin/cron/cron.c
index f307f0e76b9..6de05033951 100644
--- a/usr.sbin/cron/cron.c
+++ b/usr.sbin/cron/cron.c
@@ -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);
}
diff --git a/usr.sbin/cron/do_command.c b/usr.sbin/cron/do_command.c
index 6e774f2e66f..f359a542142 100644
--- a/usr.sbin/cron/do_command.c
+++ b/usr.sbin/cron/do_command.c
@@ -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"))
*/
}