From dd9f24b5faceee7b93537d0112a153f45f13ca41 Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Mon, 23 Oct 2000 15:07:05 +0000 Subject: Format string paranoia w/use of bootpd's local stdarg report() routine. --- usr.sbin/bootpd/hwaddr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3