diff options
author | mav <mav@FreeBSD.org> | 2012-11-05 23:20:48 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2012-11-05 23:20:48 +0000 |
commit | 7eac5be108f4a67674f9f211c85b31b3eb6353b2 (patch) | |
tree | 753164118fb89830fbba224cfc9ba1e80ccf4a97 /share | |
parent | ad915746838ec6511b9c84a147428c2967d4c8e7 (diff) | |
download | FreeBSD-src-7eac5be108f4a67674f9f211c85b31b3eb6353b2.zip FreeBSD-src-7eac5be108f4a67674f9f211c85b31b3eb6353b2.tar.gz |
Rise priority of the informational messages from LOG_INFO to LOG_NOTICE,
same as used for OK status. Otherwise it looks strange when OK status is
reported, while informational is not.
Diffstat (limited to 'share')
-rw-r--r-- | share/examples/ses/srcs/sesd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/share/examples/ses/srcs/sesd.c b/share/examples/ses/srcs/sesd.c index 88627e9..096eeae 100644 --- a/share/examples/ses/srcs/sesd.c +++ b/share/examples/ses/srcs/sesd.c @@ -142,9 +142,8 @@ main(int a, char **v) "%s: Enclosure Status OK", v[dev]); } if (stat & SES_ENCSTAT_INFO) { - syslog(LOG_INFO, - "%s: Enclosure Status Has Information", - v[dev]); + syslog(LOG_NOTICE, + "%s: Enclosure Has Information", v[dev]); } if (stat & SES_ENCSTAT_NONCRITICAL) { syslog(LOG_WARNING, |