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 <tarkhil@mgt.msk.ru>
This commit is contained in:
Joerg Wunsch 1997-10-06 18:20:23 +00:00
parent 20271f308f
commit eabb95018a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30177

View File

@ -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;