summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-05-15 21:45:53 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-05-15 21:45:53 +0000
commit0748a0f4729d111dc7ed3b035efd90295dccdca5 (patch)
tree8f75b4d7183413226b2395f0222ceba8dc1c299f /mdk-stage1
parent5a014226150bb2eaf92ae8544fc1f8d97e6cc5fd (diff)
downloaddrakx-backup-do-not-use-0748a0f4729d111dc7ed3b035efd90295dccdca5.tar
drakx-backup-do-not-use-0748a0f4729d111dc7ed3b035efd90295dccdca5.tar.gz
drakx-backup-do-not-use-0748a0f4729d111dc7ed3b035efd90295dccdca5.tar.bz2
drakx-backup-do-not-use-0748a0f4729d111dc7ed3b035efd90295dccdca5.tar.xz
drakx-backup-do-not-use-0748a0f4729d111dc7ed3b035efd90295dccdca5.zip
a bit of size reduction plus some language change
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/stage1.c6
1 files changed, 3 insertions, 3 deletions
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();