Get rid of trigraphs. No effect with gcc since the default is to ignore
trigraphs, but does get rid of the warnings during build.
Index: /usr/src/usr.sbin/rbootd/rbootd.c
===================================================================
RCS file: /usr/cvs/src/usr.sbin/rbootd/rbootd.c,v
retrieving revision 1.23
diff -u -r1.23 rbootd.c
--- /usr/src/usr.sbin/rbootd/rbootd.c 27 Oct 2009 23:59:54 -0000 1.23
+++ /usr/src/usr.sbin/rbootd/rbootd.c 18 May 2011 04:31:34 -0000
@@ -142,7 +142,7 @@
char *errmsg;
if ((IntfName = BpfGetIntfName(&errmsg)) == NULL) {
- syslog(LOG_NOTICE, "restarted (??)");
+ syslog(LOG_NOTICE, "restarted (?\?)");
/* BpfGetIntfName() returns safe names, using %m */
syslog(LOG_ERR, "%s", errmsg);
DoExit();
Index: usr.sbin/pppd/chat/chat.c
===================================================================
RCS file: /usr/cvs/src/usr.sbin/pppd/chat/chat.c,v
retrieving revision 1.28
diff -u -r1.28 chat.c
--- usr.sbin/pppd/chat/chat.c 12 Aug 2010 02:00:28 -0000 1.28
+++ usr.sbin/pppd/chat/chat.c 18 May 2011 04:30:47 -0000
@@ -1203,7 +1203,7 @@
if (verbose) {
if (quiet)
- logmsg("send (??????)");
+ logmsg("send (?????\?)");
else
logmsg("send (%v)", s);
}