Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/atrun err, fix arg to warn.
details: https://anonhg.NetBSD.org/src/rev/484bf1f60a8b
branches: trunk
changeset: 534520:484bf1f60a8b
user: christos <christos%NetBSD.org@localhost>
date: Mon Jul 29 00:36:44 2002 +0000
description:
err, fix arg to warn.
diffstat:
libexec/atrun/atrun.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 2da94b1c193f -r 484bf1f60a8b libexec/atrun/atrun.c
--- a/libexec/atrun/atrun.c Mon Jul 29 00:35:49 2002 +0000
+++ b/libexec/atrun/atrun.c Mon Jul 29 00:36:44 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atrun.c,v 1.10 2002/07/29 00:35:49 christos Exp $ */
+/* $NetBSD: atrun.c,v 1.11 2002/07/29 00:36:44 christos Exp $ */
/*
* atrun.c - run jobs queued by at; run with root privileges.
@@ -57,7 +57,7 @@
#if 0
static char rcsid[] = "$OpenBSD: atrun.c,v 1.7 1997/09/08 22:12:10 millert Exp $";
#else
-__RCSID("$NetBSD: atrun.c,v 1.10 2002/07/29 00:35:49 christos Exp $");
+__RCSID("$NetBSD: atrun.c,v 1.11 2002/07/29 00:36:44 christos Exp $");
#endif
static int debug = 0;
@@ -76,7 +76,7 @@
const char *a;
{
if (debug)
- warn(a);
+ warn("%s", a);
else
syslog(LOG_ERR, "%s: %m", a);
Home |
Main Index |
Thread Index |
Old Index