[patch] rbootd warning fix

Pawel Worach pawel.worach at telia.com
Fri Aug 20 13:05:17 PDT 2004


Hi,

Small patch to make gcc more quiet.

/usr/src/libexec/rbootd/rbootd.c:154:35: warning: trigraph ??) ignored, 
use -trigraphs to enable

Index: libexec/rbootd/rbootd.c
===================================================================
RCS file: /export/ctm/cvs/src/libexec/rbootd/rbootd.c,v
retrieving revision 1.13
diff -u -r1.13 rbootd.c
--- libexec/rbootd/rbootd.c     7 Feb 2002 23:57:00 -0000       1.13
+++ libexec/rbootd/rbootd.c     20 Aug 2004 18:08:58 -0000
@@ -151,7 +151,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);
                         Exit(0);

-- 
Pawel


More information about the freebsd-current mailing list