diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-06-28 23:57:37 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-06-28 23:57:37 +0000 |
commit | 33f601976512e550630a55b1b5e60f8fb225ab05 (patch) | |
tree | 5f5308216d2623772948d8bc5c213e5b2126fd39 /usr.sbin/rwhod/rwhod.c | |
parent | 5d471585c56a0c0dfcee92358a275679974255ef (diff) |
in quit(), be more careful about possible nasty parameters in the future
Diffstat (limited to 'usr.sbin/rwhod/rwhod.c')
-rw-r--r-- | usr.sbin/rwhod/rwhod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rwhod/rwhod.c b/usr.sbin/rwhod/rwhod.c index a028191897f..cb0bea7d58d 100644 --- a/usr.sbin/rwhod/rwhod.c +++ b/usr.sbin/rwhod/rwhod.c @@ -39,7 +39,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "@(#)rwhod.c 8.1 (Berkeley) 6/6/93";*/ -static char rcsid[] = "$OpenBSD: rwhod.c,v 1.12 1998/08/16 21:22:18 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: rwhod.c,v 1.13 2000/06/28 23:57:36 deraadt Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -389,7 +389,7 @@ void quit(msg) char *msg; { - syslog(LOG_ERR, msg); + syslog(LOG_ERR, "%s", msg); exit(1); } |