Don't call report() without a format string.

MFC after:	3 days
This commit is contained in:
Kris Kennaway 2002-10-13 11:27:36 +00:00
parent 85fe8d4124
commit ea63141090
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105041

View File

@ -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);