From 0748a0f4729d111dc7ed3b035efd90295dccdca5 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 15 May 2001 21:45:53 +0000 Subject: a bit of size reduction plus some language change --- mdk-stage1/stage1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mdk-stage1/stage1.c') diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c index 1d2d9e51a..4265138d9 100644 --- a/mdk-stage1/stage1.c +++ b/mdk-stage1/stage1.c @@ -180,7 +180,7 @@ static void expert_third_party_modules(void) enum return_type results; char * floppy_mount_location = "/tmp/floppy"; char ** modules; - char final_name[500] = "/tmp/floppy/"; + char final_name[500]; char * choice; int rc; char * questions[] = { "Options", NULL }; @@ -212,7 +212,7 @@ static void expert_third_party_modules(void) return; } - strcat(final_name, choice); + sprintf(final_name, "%s/%s", floppy_mount_location, choice); results = ask_from_entries("Please enter the options:", questions, &answers, 24, NULL); if (results != RETURN_OK) { @@ -284,7 +284,7 @@ static enum return_type method_select_and_prepare(void) #endif means[i] = NULL; - results = ask_from_list_auto("Please choose the mean of installation.", means, &choice, "method", means_auto); + results = ask_from_list_auto("Please choose the installation method.", means, &choice, "method", means_auto); if (results != RETURN_OK) return method_select_and_prepare(); -- cgit v1.2.1