libvirt plugin: Don't set the time explicitly.
[collectd.git] / src / df.c
index 61d0c28..b2be8e5 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -120,11 +120,6 @@ static int df_config (const char *key, const char *value)
 
                return (0);
        }
-       else if (strcasecmp (key, "ReportReserved") == 0)
-       {
-               /* Nop for backwards compatibility. */
-               return (0);
-       }
        else if (strcasecmp (key, "ReportInodes") == 0)
        {
                if (IS_TRUE (value))
@@ -177,7 +172,10 @@ static int df_read (void)
 
        mnt_list = NULL;
        if (cu_mount_getlist (&mnt_list) == NULL)
+       {
+               ERROR ("df plugin: cu_mount_getlist failed.");
                return (-1);
+       }
 
        for (mnt_ptr = mnt_list; mnt_ptr != NULL; mnt_ptr = mnt_ptr->next)
        {