From 3bca61801291d56d2cbf6a5c7daaa304fb28966b Mon Sep 17 00:00:00 2001 From: tedu Date: Fri, 23 Jan 2015 01:03:03 +0000 Subject: [PATCH] minor debug removal cleanup --- usr.sbin/cron/cron.c | 6 ++---- usr.sbin/cron/do_command.c | 4 ++-- 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")) */ } -- 2.20.1