summaryrefslogtreecommitdiffstats
path: root/trace
diff options
context:
space:
mode:
Diffstat (limited to 'trace')
-rw-r--r--trace/trace.c2
1 files changed, 1 insertions, 1 deletions
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)