Don't call report() without a format string.
MFC after: 3 days
This commit is contained in:
parent
85fe8d4124
commit
ea63141090
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105041
@ -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…
Reference in New Issue
Block a user