summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-07-12 21:14:08 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-07-12 21:14:08 +0000
commit1ac66e70193addcc8473c0e34302d11bedb3fe7c (patch)
treed041547666f66e2308265e909b1a5eb03c67429a /usr.sbin
parentd806b5cca698e66bb12cd7e5701ab5092c789a1b (diff)
Complain about ENXIO devices on another syslog level (LOG_WARNING which doesn't
go to the console).
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/screenblank/screenblank.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/screenblank/screenblank.c b/usr.sbin/screenblank/screenblank.c
index c2e45365dc3..aca3fb84885 100644
--- a/usr.sbin/screenblank/screenblank.c
+++ b/usr.sbin/screenblank/screenblank.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: screenblank.c,v 1.13 2002/05/26 09:25:22 deraadt Exp $ */
+/* $OpenBSD: screenblank.c,v 1.14 2002/07/12 21:14:07 jason Exp $ */
/* $NetBSD: screenblank.c,v 1.2 1996/02/28 01:18:34 thorpej Exp $ */
/*-
@@ -288,7 +288,7 @@ change_state(state, sig)
if (sig)
_exit(1);
else {
- syslog(LOG_ERR, "open(%s): %m",
+ syslog(LOG_WARNING, "open(%s): %m",
dsp->ds_path);
exit(1);
}