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
17211a5f9a
commit
9f09e3bbc6
@ -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