Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2004 22:05:14 +0200
From:      Pawel Worach <pawel.worach@telia.com>
To:        current@freebsd.org
Subject:   [patch] rbootd warning fix
Message-ID:  <4126597A.80107@telia.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4126597A.80107>