make mount ignore -n when CONFIG_FEATURE_MTAB_SUPPORT is disabled
authorEric Andersen <andersen@codepoet.org>
Mon, 12 Apr 2004 15:02:53 +0000 (15:02 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 12 Apr 2004 15:02:53 +0000 (15:02 -0000)
util-linux/mount.c

index 098e636..3a24154 100644 (file)
@@ -402,11 +402,11 @@ extern int mount_main(int argc, char **argv)
                case 'f':
                        fakeIt = TRUE;
                        break;
-#ifdef CONFIG_FEATURE_MTAB_SUPPORT
                case 'n':
+#ifdef CONFIG_FEATURE_MTAB_SUPPORT
                        useMtab = FALSE;
-                       break;
 #endif
+                       break;
                case 'v':
                        break;          /* ignore -v */
                }