summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-07-12 01:43:55 +0000
committerkris <kris@FreeBSD.org>2000-07-12 01:43:55 +0000
commitcada2988fae2178ba0c69eea547d78cce14951c4 (patch)
tree209f895e965bf53e9bee64d83760973bade332c9 /usr.sbin
parent052e7cee0478ddb9b6329a23a14ae6e5104b7542 (diff)
downloadFreeBSD-src-cada2988fae2178ba0c69eea547d78cce14951c4.zip
FreeBSD-src-cada2988fae2178ba0c69eea547d78cce14951c4.tar.gz
Don't call syslog() without a format string.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pccard/pccardd/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pccard/pccardd/util.c b/usr.sbin/pccard/pccardd/util.c
index d720221..aa44364 100644
--- a/usr.sbin/pccard/pccardd/util.c
+++ b/usr.sbin/pccard/pccardd/util.c
@@ -72,7 +72,7 @@ logmsg(const char *fmt, ...)
vsprintf(s, fmt, ap);
if (do_log)
- syslog(LOG_ERR, s);
+ syslog(LOG_ERR, "%s", s);
else {
#ifdef SYSINSTALL
dialog_clear();
OpenPOWER on IntegriCloud