summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c
index 857fa38..79a7484 100644
--- a/init/init.c
+++ b/init/init.c
@@ -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)