diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2005-03-30 18:56:20 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2005-03-30 18:56:20 +0000 |
commit | 45c3be7cf6bc94ebaecea7f113ea7a7ca2c897f5 (patch) | |
tree | 1a4245ac32b33847deaeb7e68343f9dcc735c858 /usr.sbin/sasyncd/log.c | |
parent | 01fc6f13bf9e4f478e8587b96e50bdeeedb6c96f (diff) |
Fix some stuff noted by Theo.
Diffstat (limited to 'usr.sbin/sasyncd/log.c')
-rw-r--r-- | usr.sbin/sasyncd/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sasyncd/log.c b/usr.sbin/sasyncd/log.c index 239f764b008..d8163468c34 100644 --- a/usr.sbin/sasyncd/log.c +++ b/usr.sbin/sasyncd/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.1 2005/03/30 18:44:49 ho Exp $ */ +/* $OpenBSD: log.c,v 1.2 2005/03/30 18:56:19 ho Exp $ */ /* * Copyright (c) 2005 Håkan Olsson. All rights reserved. @@ -56,7 +56,7 @@ log_output(char *msg) if (cfgstate.debug) fprintf(stderr, "%s\n", msg); else - syslog(LOG_CRIT, msg); + syslog(LOG_CRIT, "%s", msg); } void |