diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-04-13 01:18:56 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-04-13 01:18:56 +0000 |
commit | 61677feff7f549a48267c2c0c50a7420de6e2599 (patch) | |
tree | 1ea829e51641647a35c552e289f4482ab9f5db27 /init | |
parent | 62dc17a3b100496a5c7433cc598d674e244cb6f8 (diff) | |
download | busybox-w32-61677feff7f549a48267c2c0c50a7420de6e2599.tar.gz busybox-w32-61677feff7f549a48267c2c0c50a7420de6e2599.tar.bz2 busybox-w32-61677feff7f549a48267c2c0c50a7420de6e2599.zip |
Upates to include copyright 2000 to everything
-Erik
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c index 033eb519f..e8a5f74d3 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -471,8 +471,10 @@ static void check_memory() | |||
471 | return; | 471 | return; |
472 | 472 | ||
473 | if (stat("/etc/fstab", &statBuf) == 0) { | 473 | if (stat("/etc/fstab", &statBuf) == 0) { |
474 | /* swapon -a requires /proc typically */ | ||
475 | waitfor("mount proc /proc -t proc", console, FALSE); | ||
474 | /* Try to turn on swap */ | 476 | /* Try to turn on swap */ |
475 | system("/sbin/swapon -a"); | 477 | waitfor("swapon -a", console, FALSE); |
476 | if (check_free_memory() < 1000) | 478 | if (check_free_memory() < 1000) |
477 | goto goodnight; | 479 | goto goodnight; |
478 | } else | 480 | } else |