--- 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?
--- src/mountall.c 2009-10-12 17:12:47 +0000
continue;
+++ src/mountall.c 2009-10-12 17:14:38 +0000
@@ -820,9 +820,8 @@
device = strtok_r (NULL, " \t\n", &saveptr);
if (! device)
- 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?