From e7c6f0b4c27e36a1331ae7310bfa0549ead33849 Mon Sep 17 00:00:00 2001
From: vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Date: Fri, 27 Oct 2006 09:05:02 +0000
Subject: 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
---
 init/init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'init')

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 */
-- 
cgit v1.2.3-55-g6feb