Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Dec 2004 00:20:23 GMT
From:      Mark Knight <markk@knigma.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/75356: amd logs to /dev/console when it shouldn't
Message-ID:  <200412240020.iBO0KNPG077473@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/75356; it has been noted by GNATS.

From: Mark Knight <markk@knigma.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: bin/75356: amd logs to /dev/console when it shouldn't
Date: Fri, 24 Dec 2004 00:11:22 +0000

 Here's the fix:
 
 Index: syslog.c
 ===================================================================
 RCS file: /home/ncvs/src/lib/libc/gen/syslog.c,v
 retrieving revision 1.30.2.1
 diff -u -r1.30.2.1 syslog.c
 --- syslog.c    5 Dec 2004 18:26:07 -0000       1.30.2.1
 +++ syslog.c    23 Dec 2004 23:56:15 -0000
 @@ -277,6 +277,8 @@
                         if (status == CONNPRIV)
                                 break;
                 } while (errno == ENOBUFS);
 +       } else {
 +               return;
         }
 
         /*
 
 -- 
 Mark A. R. Knight                               finger: markk@knigma.org
 Tel: +44 7973 410732                            http://www.knigma.org/



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