summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'libexec')
-rw-r--r--libexec/bootpd/hwaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/bootpd/hwaddr.c b/libexec/bootpd/hwaddr.c
index ed2c14c..de264cc 100644
--- a/libexec/bootpd/hwaddr.c
+++ b/libexec/bootpd/hwaddr.c
@@ -201,7 +201,7 @@ setarp(s, ia, hafamily, haddr, halen)
snprintf(buf, sizeof(buf), "arp -d %s; arp -s %s %s temp",
a, a, haddrtoa(haddr, halen));
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);
OpenPOWER on IntegriCloud