summaryrefslogtreecommitdiffstats
path: root/sys/sys/syslog.h
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-10-06 18:20:23 +0000
committerjoerg <joerg@FreeBSD.org>1997-10-06 18:20:23 +0000
commitb94cf466deadb033a61bcb7f1e568b23f22bf255 (patch)
treeedfa813eded01360411848595a00c52d7761bf0e /sys/sys/syslog.h
parentbb9f358c5ad97ca9a4580e827c534c73a4ba9a65 (diff)
downloadFreeBSD-src-b94cf466deadb033a61bcb7f1e568b23f22bf255.zip
FreeBSD-src-b94cf466deadb033a61bcb7f1e568b23f22bf255.tar.gz
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>
Diffstat (limited to 'sys/sys/syslog.h')
-rw-r--r--sys/sys/syslog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/syslog.h b/sys/sys/syslog.h
index 49e4e5f..4f3bbce 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;
OpenPOWER on IntegriCloud