X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdf.c;h=ff701725f42dc80b3084754503966eb0ca5613ab;hb=d5565943cd7ee338e5b750a027faff8115df4c72;hp=53bc4a895e1123f0966eb743723cd6c1d607c375;hpb=6eb5239cb5b9663722e0dabb036e7263696ed5aa;p=collectd.git diff --git a/src/df.c b/src/df.c index 53bc4a89..ff701725 100644 --- a/src/df.c +++ b/src/df.c @@ -270,11 +270,7 @@ static int df_read (void) else { if (strcmp (mnt_ptr->dir, "/") == 0) - { - if (strcmp (mnt_ptr->type, "rootfs") == 0) - continue; sstrncpy (disk_name, "root", sizeof (disk_name)); - } else { int i, len;