Merge branch 'collectd-4.10'
[collectd.git] / src / df.c
index a96b79e..b2be8e5 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -172,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)
        {