summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-10-13 11:27:36 +0000
committerkris <kris@FreeBSD.org>2002-10-13 11:27:36 +0000
commit10962700ebadcb0c5b8dd8e4f05d071ce38497c7 (patch)
treeeb1216d4f8326bfcff7450b1d0f59a7c31ab891f /libexec/bootpd
parent2e6c3a2849e7909344de8d6456002d7f8d046477 (diff)
downloadFreeBSD-src-10962700ebadcb0c5b8dd8e4f05d071ce38497c7.zip
FreeBSD-src-10962700ebadcb0c5b8dd8e4f05d071ce38497c7.tar.gz
Don't call report() without a format string.
MFC after: 3 days
Diffstat (limited to 'libexec/bootpd')
-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