projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace all syslog-calls with one of the new logging-macros.
[collectd.git]
/
src
/
serial.c
diff --git
a/src/serial.c
b/src/serial.c
index
8f8e433
..
0cfa382
100644
(file)
--- a/
src/serial.c
+++ b/
src/serial.c
@@
-80,7
+80,7
@@
static int serial_read (void)
if ((fh = fopen ("/proc/tty/driver/serial", "r")) == NULL &&
(fh = fopen ("/proc/tty/driver/ttyS", "r")) == NULL)
{
-
syslog (LOG_WARNING,
"serial: fopen: %s", strerror (errno));
+
WARNING (
"serial: fopen: %s", strerror (errno));
return (-1);
}