From eabb95018a6de7a53095235c3d3cba9cd9f91ce7 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Mon, 6 Oct 1997 18:20:23 +0000 Subject: [PATCH] Shift the value for INTERNAL_MARK left by 3, as done for all other facilities. This fixes the problems reported about syslogd not recording marks correctly. Submitted by: Alexander B. Povolotsky --- sys/sys/syslog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sys/syslog.h b/sys/sys/syslog.h index 49e4e5f3d511..4f3bbce471ed 100644 --- a/sys/sys/syslog.h +++ b/sys/sys/syslog.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)syslog.h 8.1 (Berkeley) 6/2/93 - * $Id: syslog.h,v 1.12 1997/03/02 09:19:15 joerg Exp $ + * $Id: syslog.h,v 1.13 1997/03/20 16:28:27 jdp Exp $ */ #ifndef _SYS_SYSLOG_H_ @@ -66,7 +66,7 @@ #ifdef SYSLOG_NAMES #define INTERNAL_NOPRI 0x10 /* the "no priority" priority */ /* mark "facility" */ -#define INTERNAL_MARK LOG_MAKEPRI(LOG_NFACILITIES, 0) +#define INTERNAL_MARK LOG_MAKEPRI((LOG_NFACILITIES<<3), 0) typedef struct _code { char *c_name; int c_val;