diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-06-29 00:12:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-06-29 00:12:29 +0000 |
commit | 6f3a5059e46eb4cfa79c9f7c699f9910c09d82be (patch) | |
tree | 344a423ade407071c0df4adf47f344b589d0f99c /usr.sbin | |
parent | 18668e4eb3bcc3172992ccebe28df6e9a0ce9766 (diff) |
use %s with syslog
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/afs/src/util/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/afs/src/util/log.c b/usr.sbin/afs/src/util/log.c index 1665b3886da..826374d4c39 100644 --- a/usr.sbin/afs/src/util/log.c +++ b/usr.sbin/afs/src/util/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.2 1999/04/30 01:59:17 art Exp $ */ +/* $OpenBSD: log.c,v 1.3 2000/06/29 00:12:28 deraadt Exp $ */ /* * Copyright (c) 1995, 1996, 1997, 1998 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). @@ -135,7 +135,7 @@ log_vprint_syslog (Log_method *lm, char *fmt, va_list args) static void log_print_syslog (Log_method *lm, char *str) { - syslog (LOG_INFO, str); + syslog (LOG_INFO, "%s", str); } #endif /* HAVE_VSYSLOG */ |