bin/75356: amd logs to /dev/console when it shouldn't

Mark Knight markk at knigma.org
Thu Dec 23 16:20:23 PST 2004


The following reply was made to PR bin/75356; it has been noted by GNATS.

From: Mark Knight <markk at knigma.org>
To: freebsd-gnats-submit at 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 at knigma.org
 Tel: +44 7973 410732                            http://www.knigma.org/


More information about the freebsd-bugs mailing list