summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2015-01-23 01:03:03 +0000
committertedu <tedu@openbsd.org>2015-01-23 01:03:03 +0000
commit3bca61801291d56d2cbf6a5c7daaa304fb28966b (patch)
treecd487303a527a851133d2ea447f64e8f20449c42
parentremove debug code. (diff)
downloadwireguard-openbsd-3bca61801291d56d2cbf6a5c7daaa304fb28966b.tar.xz
wireguard-openbsd-3bca61801291d56d2cbf6a5c7daaa304fb28966b.zip
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"))
*/
}