From 10962700ebadcb0c5b8dd8e4f05d071ce38497c7 Mon Sep 17 00:00:00 2001 From: kris Date: Sun, 13 Oct 2002 11:27:36 +0000 Subject: Don't call report() without a format string. MFC after: 3 days --- libexec/bootpd/hwaddr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec') 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); -- cgit v1.1