summaryrefslogtreecommitdiffstats
path: root/sbin/natd
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-07-10 08:14:18 +0000
committerkris <kris@FreeBSD.org>2000-07-10 08:14:18 +0000
commit007293175ce547853ebdd9ade8d8c21a66ebc04f (patch)
tree8d9735f57c4bb24d936c2457bd555dfb4e54d32f /sbin/natd
parent2e935b7798d93cfcd3778b957ca8fcd998194743 (diff)
downloadFreeBSD-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.c2
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)
OpenPOWER on IntegriCloud