From ceea6e0e0338f8a906d45120537f0e0530b3ab95 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 17 Mar 2005 12:48:10 +0000 Subject: fix/enhance messages --- mdk-stage1/thirdparty.c | 9 +++++---- 1 file 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(); } -- cgit v1.2.1