summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-07-12 00:00:12 +0000
committerkris <kris@FreeBSD.org>2000-07-12 00:00:12 +0000
commit70fe80a15b967bf34bcf16fa3dc652727d1f3bca (patch)
tree0ed05891b1d1c657fcdd7baebf9ce24a3fd68fb9 /usr.sbin
parentb8853980fc9428b3502ff2d6f2e537c5720a6a54 (diff)
downloadFreeBSD-src-70fe80a15b967bf34bcf16fa3dc652727d1f3bca.zip
FreeBSD-src-70fe80a15b967bf34bcf16fa3dc652727d1f3bca.tar.gz
Don't call syslog() without a format string.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/IPXrouted/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/IPXrouted/trace.c b/usr.sbin/IPXrouted/trace.c
index 63fb1e9..b89d9f8 100644
--- a/usr.sbin/IPXrouted/trace.c
+++ b/usr.sbin/IPXrouted/trace.c
@@ -279,7 +279,7 @@ traceactionlog(action, rt)
first = 0;
}
}
- syslog(LOG_DEBUG, lstr);
+ syslog(LOG_DEBUG, "%s", lstr);
free(lstr);
}
OpenPOWER on IntegriCloud