summaryrefslogtreecommitdiff
path: root/usr.sbin/rwhod/rwhod.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-06-28 23:57:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-06-28 23:57:37 +0000
commit33f601976512e550630a55b1b5e60f8fb225ab05 (patch)
tree5f5308216d2623772948d8bc5c213e5b2126fd39 /usr.sbin/rwhod/rwhod.c
parent5d471585c56a0c0dfcee92358a275679974255ef (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.c4
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);
}