diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-05-17 16:53:32 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-05-17 16:53:32 +0000 |
commit | 067ea25e278d221724425e492452d4341ab2e669 (patch) | |
tree | 6abef88f0bf831cd6316cc5adbb550d337c7275a /mdk-stage1/tools.c | |
parent | 93796296016933af1c23f13fc2ae6d5f62299527 (diff) | |
download | drakx-067ea25e278d221724425e492452d4341ab2e669.tar drakx-067ea25e278d221724425e492452d4341ab2e669.tar.gz drakx-067ea25e278d221724425e492452d4341ab2e669.tar.bz2 drakx-067ea25e278d221724425e492452d4341ab2e669.tar.xz drakx-067ea25e278d221724425e492452d4341ab2e669.zip |
don't write nonsense code to separate frontend from stage1,
but rather, try to do some clever things
Diffstat (limited to 'mdk-stage1/tools.c')
-rw-r--r-- | mdk-stage1/tools.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c index 66df907b7..deafdc8fe 100644 --- a/mdk-stage1/tools.c +++ b/mdk-stage1/tools.c @@ -256,14 +256,14 @@ enum return_type load_ramdisk_fd(int ramdisk_fd, int size) if (!st2) { log_message("Opening compressed ramdisk: %s", BZ2_bzerror(st2, &z_errnum)); - error_message("Could not open compressed ramdisk file."); + stg1_error_message("Could not open compressed ramdisk file."); return RETURN_ERROR; } ram_fd = open(ramdisk, O_WRONLY); if (ram_fd == -1) { log_perror(ramdisk); - error_message("Could not open ramdisk device file."); + stg1_error_message("Could not open ramdisk device file."); return RETURN_ERROR; } @@ -282,7 +282,7 @@ enum return_type load_ramdisk_fd(int ramdisk_fd, int size) if (!seems_ok) { log_message("reading compressed ramdisk: %s", BZ2_bzerror(st2, &z_errnum)); remove_wait_message(); - error_message("Could not uncompress second stage ramdisk."); + stg1_error_message("Could not uncompress second stage ramdisk."); return RETURN_ERROR; } @@ -345,7 +345,7 @@ enum return_type load_ramdisk(void) if (st2_fd == -1) { log_message("open ramdisk file (%s) failed", img_name); - error_message("Could not open compressed ramdisk file (%s).", img_name); + stg1_error_message("Could not open compressed ramdisk file (%s).", img_name); return RETURN_ERROR; } |