Replace all syslog-calls with one of the new logging-macros.
[collectd.git] / src / df.c
index fde5d9a..6ec51fe 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -174,7 +174,7 @@ static int df_read (void)
        {
                if (STATANYFS (mnt_ptr->dir, &statbuf) < 0)
                {
-                       syslog (LOG_ERR, "statv?fs failed: %s", strerror (errno));
+                       ERROR ("statv?fs failed: %s", strerror (errno));
                        continue;
                }