Replace all syslog-calls with one of the new logging-macros.
[collectd.git] / src / wireless.c
index 1041453..a704047 100644 (file)
@@ -112,7 +112,7 @@ static int wireless_read (void)
        /* there are a variety of names for the wireless device */
        if ((fh = fopen (WIRELESS_PROC_FILE, "r")) == NULL)
        {
-               syslog (LOG_WARNING, "wireless: fopen: %s", strerror (errno));
+               WARNING ("wireless: fopen: %s", strerror (errno));
                return (-1);
        }