aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2006-10-27 09:05:02 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2006-10-27 09:05:02 +0000
commitdca0b707c0f0998670f8e69600cc30d94e9b217b (patch)
treebf0291a625fee415b6500007b0ec90880104f962 /init
parent621204bbf6750f1ba3977b43bb35375ddda6b5ae (diff)
downloadbusybox-dca0b707c0f0998670f8e69600cc30d94e9b217b.tar.gz
busybox-dca0b707c0f0998670f8e69600cc30d94e9b217b.tar.bz2
reshuffle libbb.h contents so that order of decls makes sense
Found bad typo in largefile support :)
Diffstat (limited to 'init')
-rw-r--r--init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c
index beb2b28f0..213a5c149 100644
--- a/init/init.c
+++ b/init/init.c
@@ -1035,7 +1035,7 @@ int init_main(int argc, char **argv)
struct sysinfo info;
if (!sysinfo(&info) &&
- (info.mem_unit ? : 1) * (long long)info.totalram < MEGABYTE)
+ (info.mem_unit ? : 1) * (long long)info.totalram < 1024*1024)
{
message(CONSOLE,"Low memory: forcing swapon.");
/* swapon -a requires /proc typically */