diff options
author | kris <kris@FreeBSD.org> | 2002-10-13 11:27:36 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-10-13 11:27:36 +0000 |
commit | 10962700ebadcb0c5b8dd8e4f05d071ce38497c7 (patch) | |
tree | eb1216d4f8326bfcff7450b1d0f59a7c31ab891f /libexec/bootpd/hwaddr.c | |
parent | 2e6c3a2849e7909344de8d6456002d7f8d046477 (diff) | |
download | FreeBSD-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/hwaddr.c')
-rw-r--r-- | libexec/bootpd/hwaddr.c | 2 |
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); |