reshuffle libbb.h contents so that order of decls makes sense

Found bad typo in largefile support :)
This commit is contained in:
Denis Vlasenko
2006-10-27 09:05:02 +00:00
parent 621204bbf6
commit dca0b707c0
6 changed files with 264 additions and 281 deletions

View File

@@ -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 */