summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-03-17 12:48:10 +0000
committerOlivier Blin <oblin@mandriva.org>2005-03-17 12:48:10 +0000
commitceea6e0e0338f8a906d45120537f0e0530b3ab95 (patch)
tree2c69f79f127b24b45151c43979a4ac0f773ca8b5 /mdk-stage1
parent397afa3b1363a7fb440defa9576d906cdc90154f (diff)
downloaddrakx-ceea6e0e0338f8a906d45120537f0e0530b3ab95.tar
drakx-ceea6e0e0338f8a906d45120537f0e0530b3ab95.tar.gz
drakx-ceea6e0e0338f8a906d45120537f0e0530b3ab95.tar.bz2
drakx-ceea6e0e0338f8a906d45120537f0e0530b3ab95.tar.xz
drakx-ceea6e0e0338f8a906d45120537f0e0530b3ab95.zip
fix/enhance messages
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/thirdparty.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mdk-stage1/thirdparty.c b/mdk-stage1/thirdparty.c
index 17f04478c..511bb56a3 100644
--- a/mdk-stage1/thirdparty.c
+++ b/mdk-stage1/thirdparty.c
@@ -160,7 +160,7 @@ static enum return_type third_party_choose_device(char ** device)
static enum return_type thirdparty_mount_device(char * device)
{
- log_message("third party : trying to mount device %s", device);
+ log_message("third party: trying to mount device %s", device);
if (try_mount(device, THIRDPARTY_MOUNT_LOCATION) == -1) {
stg1_error_message("I can't mount the selected device (%s).", device);
return RETURN_ERROR;
@@ -256,7 +256,7 @@ void thirdparty_load_modules(void)
device = NULL;
if (IS_AUTOMATIC) {
device = get_auto_value("thirdparty");
- log_message("third party : trying automatic device %s", device);
+ log_message("third party: trying automatic device %s", device);
if (thirdparty_mount_device(device) != RETURN_OK)
device = NULL;
}
@@ -269,7 +269,7 @@ void thirdparty_load_modules(void)
device = NULL;
}
- log_message("third party : using device %s", device);
+ log_message("third party: using device %s", device);
/* look first in the specific third-party directory */
modules_location = THIRDPARTY_MOUNT_LOCATION THIRDPARTY_DIRECTORY;
@@ -283,7 +283,8 @@ void thirdparty_load_modules(void)
log_message("third party: using modules location %s", modules_location);
if (!modules_list || !*modules_list) {
- stg1_error_message("No modules found on disk.");
+ log_message("third party: no modules found");
+ stg1_error_message("No modules found on selected device.");
umount(THIRDPARTY_MOUNT_LOCATION);
return thirdparty_load_modules();
}