Avoid accidental use of ANSI C trigraphs.
Spotted by: Pawel Worach Obtained from: NetBSD (rev. 1.11, 1.13)
This commit is contained in:
parent
690161113f
commit
6c3a896977
@ -151,7 +151,8 @@ main(int argc, char *argv[])
|
||||
char *errmsg;
|
||||
|
||||
if ((IntfName = BpfGetIntfName(&errmsg)) == NULL) {
|
||||
syslog(LOG_NOTICE, "restarted (??)");
|
||||
/* Backslash to avoid trigraph '??)'. */
|
||||
syslog(LOG_NOTICE, "restarted (?\?)");
|
||||
/* BpfGetIntfName() returns safe names, using %m */
|
||||
syslog(LOG_ERR, "%s", errmsg);
|
||||
Exit(0);
|
||||
|
Loading…
Reference in New Issue
Block a user