From 39ffa1b4cbaecd73a71ba5740838e23414cf82cb Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Wed, 30 Jun 2021 22:26:55 +0200 Subject: [PATCH] Fix #34: regression in internal logging, loss of restart msg Signed-off-by: Joachim Wiberg --- src/syslog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syslog.h b/src/syslog.h index 5659a65..ff19b12 100644 --- a/src/syslog.h +++ b/src/syslog.h @@ -79,7 +79,7 @@ #define INTERNAL_NOPRI 0x10 /* the "no priority" priority */ /* mark "facility" */ #define INTERNAL_ALLPRI 0xFF /* Value to indicate all priorities in f_pmask */ -#define INTERNAL_MARK LOG_MAKEPRI(LOG_NFACILITIES, 0) +#define INTERNAL_MARK LOG_MAKEPRI(LOG_NFACILITIES << 3, 0) typedef struct _code { const char *c_name; int c_val;