diff options
author | kris <kris@FreeBSD.org> | 2000-07-10 08:14:18 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-07-10 08:14:18 +0000 |
commit | 007293175ce547853ebdd9ade8d8c21a66ebc04f (patch) | |
tree | 8d9735f57c4bb24d936c2457bd555dfb4e54d32f /sbin/natd | |
parent | 2e935b7798d93cfcd3778b957ca8fcd998194743 (diff) | |
download | FreeBSD-src-007293175ce547853ebdd9ade8d8c21a66ebc04f.zip FreeBSD-src-007293175ce547853ebdd9ade8d8c21a66ebc04f.tar.gz |
Don't call warn() with no format string.
Diffstat (limited to 'sbin/natd')
-rw-r--r-- | sbin/natd/natd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/natd/natd.c b/sbin/natd/natd.c index a4845d8..a41d540 100644 --- a/sbin/natd/natd.c +++ b/sbin/natd/natd.c @@ -822,7 +822,7 @@ void Warn (const char* msg) if (background) syslog (LOG_ALERT, "%s (%m)", msg); else - warn (msg); + warn ("%s", msg); } static void RefreshAddr (int sig) |