From: octo Date: Wed, 5 Apr 2006 06:04:25 +0000 (+0000) Subject: Removed syslog-entry if `cu_mount_getlist' fails, because it spams a lot ;) X-Git-Tag: collectd-3.8.6^2~76 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=872a6c0d1404d59261e864bfcdce499b5bcc27a1;p=collectd.git Removed syslog-entry if `cu_mount_getlist' fails, because it spams a lot ;) --- diff --git a/src/df.c b/src/df.c index 3e173c5f..51dff31f 100644 --- a/src/df.c +++ b/src/df.c @@ -110,10 +110,7 @@ static void df_read (void) mnt_list = NULL; if (cu_mount_getlist (&mnt_list) == NULL) - { - syslog (LOG_WARNING, "cu_mount_getlist returned `NULL'"); return; - } for (mnt_ptr = mnt_list; mnt_ptr != NULL; mnt_ptr = mnt_ptr->next) {