aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/syslog.h
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1997-10-06 18:20:23 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1997-10-06 18:20:23 +0000
commiteabb95018a6de7a53095235c3d3cba9cd9f91ce7 (patch)
tree115737a81773aa784f523c0afd3928f07433c0c4 /sys/sys/syslog.h
parent20271f308fd29a493e50206d82941fc4aac841ab (diff)
downloadsrc-eabb95018a6de7a53095235c3d3cba9cd9f91ce7.tar.gz
src-eabb95018a6de7a53095235c3d3cba9cd9f91ce7.zip
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>
Notes
Notes: svn path=/head/; revision=30177
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 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;