summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2004-08-21 07:23:41 +0000
committermaxim <maxim@FreeBSD.org>2004-08-21 07:23:41 +0000
commit6c3a896977f28b2aaf58efc0ee3f3d95af783ff7 (patch)
tree6e36512cb342227c212a1ebb2eee58811dccc41e /libexec
parent690161113f0f5046e897c9375a2042f08072c65d (diff)
downloadFreeBSD-src-6c3a896977f28b2aaf58efc0ee3f3d95af783ff7.zip
FreeBSD-src-6c3a896977f28b2aaf58efc0ee3f3d95af783ff7.tar.gz
Avoid accidental use of ANSI C trigraphs.
Spotted by: Pawel Worach Obtained from: NetBSD (rev. 1.11, 1.13)
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rbootd/rbootd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/rbootd/rbootd.c b/libexec/rbootd/rbootd.c
index 78a4fd6..942c7cb 100644
--- a/libexec/rbootd/rbootd.c
+++ b/libexec/rbootd/rbootd.c
@@ -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);
OpenPOWER on IntegriCloud