diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-01-06 01:08:28 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-01-06 01:08:28 +0000 |
commit | c94e89d81f9a5cbbbb9c1cbdcb52e3379173a5a7 (patch) | |
tree | 20f0058db2966bc902b7fa45e64c8db1a05e0776 | |
parent | db2b9f37d4cf2c4f266b52b938f9ce05e4799259 (diff) | |
download | busybox-w32-c94e89d81f9a5cbbbb9c1cbdcb52e3379173a5a7.tar.gz busybox-w32-c94e89d81f9a5cbbbb9c1cbdcb52e3379173a5a7.tar.bz2 busybox-w32-c94e89d81f9a5cbbbb9c1cbdcb52e3379173a5a7.zip |
Do not depend on PATH or getopt arg reordering
-rw-r--r-- | init/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c index 3bb5de0f7..857fa380d 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -615,9 +615,9 @@ static void check_memory(void) | |||
615 | #if !defined(__UCLIBC__) || defined(__UCLIBC_HAS_MMU__) | 615 | #if !defined(__UCLIBC__) || defined(__UCLIBC_HAS_MMU__) |
616 | if (stat("/etc/fstab", &statBuf) == 0) { | 616 | if (stat("/etc/fstab", &statBuf) == 0) { |
617 | /* swapon -a requires /proc typically */ | 617 | /* swapon -a requires /proc typically */ |
618 | waitfor("mount proc /proc -t proc", console, FALSE); | 618 | waitfor("/bin/mount -t proc /proc", console, FALSE); |
619 | /* Try to turn on swap */ | 619 | /* Try to turn on swap */ |
620 | waitfor("swapon -a", console, FALSE); | 620 | waitfor("/sbin/swapon -a", console, FALSE); |
621 | if (check_free_memory() < 1000) | 621 | if (check_free_memory() < 1000) |
622 | goto goodnight; | 622 | goto goodnight; |
623 | } else | 623 | } else |