Don't call report() without a format string.
MFC after: 3 days
This commit is contained in:
parent
2e6c3a2849
commit
10962700eb
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user