Oops.
authorEric Andersen <andersen@codepoet.org>
Sun, 6 Jan 2002 01:10:25 +0000 (01:10 -0000)
committerEric Andersen <andersen@codepoet.org>
Sun, 6 Jan 2002 01:10:25 +0000 (01:10 -0000)
init/init.c

index 857fa380df024d89c6fa06a0492262f258579f22..79a7484540fe44804c3df5e089f1477464fa7379 100644 (file)
@@ -615,7 +615,7 @@ static void check_memory(void)
 #if !defined(__UCLIBC__) || defined(__UCLIBC_HAS_MMU__)
        if (stat("/etc/fstab", &statBuf) == 0) {
                /* swapon -a requires /proc typically */
-               waitfor("/bin/mount -t proc /proc", console, FALSE);
+               waitfor("/bin/mount -t proc proc /proc", console, FALSE);
                /* Try to turn on swap */
                waitfor("/sbin/swapon -a", console, FALSE);
                if (check_free_memory() < 1000)