diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-06-29 00:01:15 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-06-29 00:01:15 +0000 |
commit | 589fe08addb296a3072261891387ccabb9db464d (patch) | |
tree | db310e30889654e56eb51640b262530ec3b40138 /sbin/isakmpd/log.c | |
parent | 37fde5401d7660825598e566a055de4dea61fec8 (diff) |
use %s when calling syslog
Diffstat (limited to 'sbin/isakmpd/log.c')
-rw-r--r-- | sbin/isakmpd/log.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/isakmpd/log.c b/sbin/isakmpd/log.c index 2f66d3551d3..075efa8a176 100644 --- a/sbin/isakmpd/log.c +++ b/sbin/isakmpd/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.10 2000/04/07 22:05:38 niklas Exp $ */ +/* $OpenBSD: log.c,v 1.11 2000/06/29 00:01:14 deraadt Exp $ */ /* $EOM: log.c,v 1.27 2000/03/30 14:27:03 ho Exp $ */ /* @@ -143,11 +143,11 @@ _log_print (int error, int syslog_level, const char *fmt, va_list ap, log_to (0); /* (Re)send current message to syslog(). */ - syslog (class == LOG_REPORT ? LOG_ALERT : syslog_level, buffer); + syslog (class == LOG_REPORT ? LOG_ALERT : syslog_level, "%s", buffer); } } else - syslog (class == LOG_REPORT ? LOG_ALERT : syslog_level, buffer); + syslog (class == LOG_REPORT ? LOG_ALERT : syslog_level, "%s", buffer); } #ifdef USE_DEBUG |