NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/57172: LOG_MAKEPRI macro in sys/syslog.h defined incorrectly



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

From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: lib/57172: LOG_MAKEPRI macro in sys/syslog.h defined
 incorrectly
Date: Sat, 3 Aug 2024 03:04:42 +0000 (UTC)

 On Fri, 2 Aug 2024, RVP wrote:
 
 > diff -urN a/src/usr.sbin/syslogd/syslogd.c b/src/usr.sbin/syslogd/syslogd.c
 > --- a/src/usr.sbin/syslogd/syslogd.c	2023-10-11 23:22:13.000000000 +0000
 > +++ b/src/usr.sbin/syslogd/syslogd.c	2024-07-28 22:54:20.649653887 +0000
 > @@ -360,6 +361,9 @@
 >   			if (*group == '\0')
 >   				usage();
 >   			break;
 > +		case 'k':		/* pass-thru (remote) kern.* */
 > +			KernXlat = true;
 > +			break;
 >   		case 'm':		/* mark interval */
 >   			MarkInterval = atoi(optarg) * 60;
 >   			break;
 >
 
 Ah, that should be:
 
  		KernXlat = false;
 
 -RVP
 


Home | Main Index | Thread Index | Old Index