summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/config-stage1.h2
-rw-r--r--mdk-stage1/network.c4
-rw-r--r--mdk-stage1/tools.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/mdk-stage1/config-stage1.h b/mdk-stage1/config-stage1.h
index 2a9cfa9ce..e1b717876 100644
--- a/mdk-stage1/config-stage1.h
+++ b/mdk-stage1/config-stage1.h
@@ -19,7 +19,7 @@
/* If we have more than that amount of memory (in Mbytes), we assume we can load the second stage as a ramdisk */
-#define MEM_LIMIT_RAMDISK 68
+#define MEM_LIMIT_DRAKX 68
/* If we have more than that amount of memory (in Mbytes), we assume we can load the rescue as a ramdisk */
#define MEM_LIMIT_RESCUE 40
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index 19d6d3710..d80d05e00 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -905,7 +905,7 @@ enum return_type ftp_prepare(void)
if (!ramdisk_possible()) {
stg1_error_message("FTP install needs more than %d Mbytes of memory (detected %d Mbytes). You may want to try an NFS install.",
- MEM_LIMIT_RAMDISK, total_memory());
+ MEM_LIMIT_DRAKX, total_memory());
return RETURN_ERROR;
}
@@ -1054,7 +1054,7 @@ enum return_type http_prepare(void)
if (!ramdisk_possible()) {
stg1_error_message("HTTP install needs more than %d Mbytes of memory (detected %d Mbytes). You may want to try an NFS install.",
- MEM_LIMIT_RAMDISK, total_memory());
+ MEM_LIMIT_DRAKX, total_memory());
return RETURN_ERROR;
}
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c
index 11aa0c446..f0c0d7efc 100644
--- a/mdk-stage1/tools.c
+++ b/mdk-stage1/tools.c
@@ -229,7 +229,7 @@ int total_memory(void)
int ramdisk_possible(void)
{
- if (total_memory() > (IS_RESCUE ? MEM_LIMIT_RESCUE : MEM_LIMIT_RAMDISK))
+ if (total_memory() > (IS_RESCUE ? MEM_LIMIT_RESCUE : MEM_LIMIT_DRAKX))
return 1;
else {
log_message("warning, ramdisk is not possible due to low mem!");