Comment 2 for bug 448323

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

--- src/mountall.c 2009-10-12 17:12:47 +0000
+++ src/mountall.c 2009-10-12 17:14:38 +0000
@@ -820,9 +820,8 @@
        device = strtok_r (NULL, " \t\n", &saveptr);
        if (! device)
            continue;
- if (! strcmp (device, "/dev/root"))
- device = NULL;
- if (! strcmp (device, "none"))
+ if ((! strcmp (device, "/dev/root"))
+ (! strcmp (device, "none")))
            device = NULL;

        /* superblock opts */

Does this even build?