mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 02:42:46 +00:00
Format string paranoia
Obtained from: OpenBSD
This commit is contained in:
parent
7853d5d839
commit
b601f693db
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68894
@ -154,7 +154,8 @@ main(argc, argv)
|
||||
|
||||
if ((IntfName = BpfGetIntfName(&errmsg)) == NULL) {
|
||||
syslog(LOG_NOTICE, "restarted (??)");
|
||||
syslog(LOG_ERR, errmsg);
|
||||
/* BpfGetIntfName() returns safe names, using %m */
|
||||
syslog(LOG_ERR, "%s", errmsg);
|
||||
Exit(0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user