From 890ac34c460fbb753bd4303b201d11aebd27a570 Mon Sep 17 00:00:00 2001 From: Ulrich Weber Date: Wed, 4 Nov 2015 16:33:11 +0100 Subject: syslog: set sane priority values otherwise LOG_USER/LOG_EMERG is used Signed-off-by: Ulrich Weber --- trace/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trace') diff --git a/trace/trace.c b/trace/trace.c index 5941f90..b0005b8 100644 --- a/trace/trace.c +++ b/trace/trace.c @@ -53,7 +53,7 @@ } while (0) #define ERROR(fmt, ...) do { \ - syslog(0, "utrace: "fmt, ## __VA_ARGS__); \ + syslog(LOG_ERR, "utrace: "fmt, ## __VA_ARGS__); \ fprintf(stderr, "utrace: "fmt, ## __VA_ARGS__); \ } while (0) -- cgit v1.2.3