From a0f295c6837be1282b3b7ecca13f08a3c8d99175 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 8 Feb 2001 12:49:56 +0000 Subject: better memory detection (from wonderful drakx) --- mdk-stage1/network.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdk-stage1/network.c') diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c index f961df17f..7c4207c36 100644 --- a/mdk-stage1/network.c +++ b/mdk-stage1/network.c @@ -642,7 +642,7 @@ enum return_type ftp_prepare(void) if (!ramdisk_possible()) { error_message("FTP install needs more than %d Mbytes of memory (detected %d Mbytes).", - MEM_LIMIT_RAMDISK >> 10, total_memory() >> 10); + MEM_LIMIT_RAMDISK, total_memory()); return RETURN_ERROR; } @@ -726,7 +726,7 @@ enum return_type http_prepare(void) if (!ramdisk_possible()) { error_message("HTTP install needs more than %d Mbytes of memory (detected %d Mbytes).", - MEM_LIMIT_RAMDISK >> 10, total_memory() >> 10); + MEM_LIMIT_RAMDISK, total_memory()); return RETURN_ERROR; } -- cgit v1.2.1