diff options
Diffstat (limited to 'init/init.c')
-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 35f64cf8a..6bee8f35c 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -862,7 +862,7 @@ int init_main(int argc UNUSED_PARAM, char **argv) | |||
862 | struct sysinfo info; | 862 | struct sysinfo info; |
863 | 863 | ||
864 | if (sysinfo(&info) == 0 | 864 | if (sysinfo(&info) == 0 |
865 | && (info.mem_unit ? : 1) * (long long)info.totalram < 1024*1024 | 865 | && (info.mem_unit ? info.mem_unit : 1) * (long long)info.totalram < 1024*1024 |
866 | ) { | 866 | ) { |
867 | message(L_CONSOLE, "Low memory, forcing swapon"); | 867 | message(L_CONSOLE, "Low memory, forcing swapon"); |
868 | /* swapon -a requires /proc typically */ | 868 | /* swapon -a requires /proc typically */ |