X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdf.c;h=ff701725f42dc80b3084754503966eb0ca5613ab;hb=db35efb33e81d0a013e09a8a6ffa362ad5962f7c;hp=53bc4a895e1123f0966eb743723cd6c1d607c375;hpb=441986e1377e358a04e1013757e00a88a55bdd53;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;