]> Zhao Yanbai Git Server - minix.git/commitdiff
df: add case for MFSv3
authorBen Gras <ben@minix3.org>
Mon, 14 Nov 2011 22:18:31 +0000 (22:18 +0000)
committerBen Gras <ben@minix3.org>
Mon, 14 Nov 2011 22:18:31 +0000 (22:18 +0000)
. fix for FSes mounted with '-t mfs' syntax

commands/df/df.c

index 908b58a10e494fcb7f52b86cfba5a8c96e26623c..8fb29033e1de111e8f4ddb48b451ef498874dbb9 100644 (file)
@@ -185,7 +185,7 @@ static void readmtab(const char *type)
                                                          devname[0] != 0) {
        if (strcmp(type, "dev") == 0) {
                if (strcmp(version, "1") != 0 && strcmp(version, "2") != 0 &&
-                       strcmp(version, "3"))
+                       strcmp(version, "3") && strcmp(version, "MFSv3"))
                        continue;
        } else {
                if (strcmp(type, version) != 0) continue;