diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-02-08 12:49:56 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-02-08 12:49:56 +0000 |
commit | a0f295c6837be1282b3b7ecca13f08a3c8d99175 (patch) | |
tree | d4901671674a9803520fc3a06c42bef0ac006edd /mdk-stage1/network.c | |
parent | dd565d0c93639079355387546e55a9c615662760 (diff) | |
download | drakx-backup-do-not-use-a0f295c6837be1282b3b7ecca13f08a3c8d99175.tar drakx-backup-do-not-use-a0f295c6837be1282b3b7ecca13f08a3c8d99175.tar.gz drakx-backup-do-not-use-a0f295c6837be1282b3b7ecca13f08a3c8d99175.tar.bz2 drakx-backup-do-not-use-a0f295c6837be1282b3b7ecca13f08a3c8d99175.tar.xz drakx-backup-do-not-use-a0f295c6837be1282b3b7ecca13f08a3c8d99175.zip |
better memory detection (from wonderful drakx)
Diffstat (limited to 'mdk-stage1/network.c')
-rw-r--r-- | mdk-stage1/network.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |