diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-04-13 01:18:56 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-04-13 01:18:56 +0000 |
commit | 3e1eedd1a1754ecc86affdbd873900213c172bab (patch) | |
tree | 1ea829e51641647a35c552e289f4482ab9f5db27 /init | |
parent | 3dc2375ccc0076966ace7c4b7a93830a93e2ae34 (diff) | |
download | busybox-w32-3e1eedd1a1754ecc86affdbd873900213c172bab.tar.gz busybox-w32-3e1eedd1a1754ecc86affdbd873900213c172bab.tar.bz2 busybox-w32-3e1eedd1a1754ecc86affdbd873900213c172bab.zip |
Upates to include copyright 2000 to everything
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@447 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 |