Code

df plugin: Remove the complaint code again.
[collectd.git] / src / df.c
index 9185ba449560d17d13c1bb9c5a8b92927986d391..fc80ac3f08c27c659d4261427be91345c62238be 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -204,7 +204,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)
        {