summaryrefslogtreecommitdiff
path: root/usr.sbin/rwhod/rwhod.c
diff options
context:
space:
mode:
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);
}