summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-12-11 21:10:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-12-11 21:10:51 +0000
commit6cc8fffadf9de47897a0e0868077d255f1c3c526 (patch)
treecb3fa162c58de68d359e82e3fbf2c2810ed0097e
parent8a15b504db068f54fc94d20d683ae55b724207c7 (diff)
This file was forgotten in the previous wsmouse commits.
-rw-r--r--usr.sbin/wsmoused/wsmoused.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/wsmoused/wsmoused.h b/usr.sbin/wsmoused/wsmoused.h
index fadc8a157bf..2ad2d6d9ac2 100644
--- a/usr.sbin/wsmoused/wsmoused.h
+++ b/usr.sbin/wsmoused/wsmoused.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsmoused.h,v 1.1 2001/04/14 04:47:41 aaron Exp $ */
+/* $OpenBSD: wsmoused.h,v 1.2 2001/12/11 21:10:50 miod Exp $ */
/*
* Copyright (c) 2001 Jean-Baptiste Marchand, Julien Montagne and Jerome Verdon
@@ -60,7 +60,7 @@
#define logerr(e, fmt, args...) { \
if (background) { \
- syslog(LOG_DAEMON | LOG_ERR, fmt, ##args); \
+ syslog(LOG_ERR, fmt, ##args); \
exit(e); \
} else \
errx(e, fmt, ##args); \
@@ -68,7 +68,7 @@
#define logwarn(fmt, args...) { \
if (background) \
- syslog(LOG_DAEMON | LOG_WARNING, fmt, ##args); \
+ syslog(LOG_WARNING, fmt, ##args); \
else \
warnx(fmt, ##args); \
}