diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-27 09:05:02 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-27 09:05:02 +0000 |
commit | e7c6f0b4c27e36a1331ae7310bfa0549ead33849 (patch) | |
tree | bf0291a625fee415b6500007b0ec90880104f962 /init | |
parent | 9bc0f50defc28a31a2d214e654ec48e2a1bcc897 (diff) | |
download | busybox-w32-e7c6f0b4c27e36a1331ae7310bfa0549ead33849.tar.gz busybox-w32-e7c6f0b4c27e36a1331ae7310bfa0549ead33849.tar.bz2 busybox-w32-e7c6f0b4c27e36a1331ae7310bfa0549ead33849.zip |
reshuffle libbb.h contents so that order of decls makes sense
Found bad typo in largefile support :)
git-svn-id: svn://busybox.net/trunk/busybox@16453 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 2 |
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) | |||
1035 | struct sysinfo info; | 1035 | struct sysinfo info; |
1036 | 1036 | ||
1037 | if (!sysinfo(&info) && | 1037 | if (!sysinfo(&info) && |
1038 | (info.mem_unit ? : 1) * (long long)info.totalram < MEGABYTE) | 1038 | (info.mem_unit ? : 1) * (long long)info.totalram < 1024*1024) |
1039 | { | 1039 | { |
1040 | message(CONSOLE,"Low memory: forcing swapon."); | 1040 | message(CONSOLE,"Low memory: forcing swapon."); |
1041 | /* swapon -a requires /proc typically */ | 1041 | /* swapon -a requires /proc typically */ |