summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-10-23 15:07:05 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-10-23 15:07:05 +0000
commitdd9f24b5faceee7b93537d0112a153f45f13ca41 (patch)
treec14283952574ab67e89bb08a459e86e1046fd860
parent9720d1ceead84462feaf798ba4900ba2c4a24261 (diff)
Format string paranoia w/use of bootpd's local stdarg report() routine.
-rw-r--r--usr.sbin/bootpd/hwaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bootpd/hwaddr.c b/usr.sbin/bootpd/hwaddr.c
index b1022ec8daf..ecd27eb26ea 100644
--- a/usr.sbin/bootpd/hwaddr.c
+++ b/usr.sbin/bootpd/hwaddr.c
@@ -137,7 +137,7 @@ setarp(s, ia, ha, len)
snprintf(buf, sizeof(buf), "arp -d %s; arp -s %s %s temp",
a, a, haddrtoa(ha, len));
if (debug > 2)
- report(LOG_INFO, buf);
+ report(LOG_INFO, "%s", buf);
status = system(buf);
if (status)
report(LOG_ERR, "arp failed, exit code=0x%x", status);