summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/disk.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-02-06 16:54:36 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-02-06 16:54:36 +0000
commitab79ffa49720328bdf9e44b842e7b015e7835cfd (patch)
tree2b6eaced12858569d794621dbb8255f555a72cd9 /mdk-stage1/disk.c
parented27fb7a0964b12e0bf96bc7fa8b4ba6a50a18d6 (diff)
downloaddrakx-backup-do-not-use-ab79ffa49720328bdf9e44b842e7b015e7835cfd.tar
drakx-backup-do-not-use-ab79ffa49720328bdf9e44b842e7b015e7835cfd.tar.gz
drakx-backup-do-not-use-ab79ffa49720328bdf9e44b842e7b015e7835cfd.tar.bz2
drakx-backup-do-not-use-ab79ffa49720328bdf9e44b842e7b015e7835cfd.tar.xz
drakx-backup-do-not-use-ab79ffa49720328bdf9e44b842e7b015e7835cfd.zip
- slighty change the message when exiting successfully from install, to not mess with abnormal termination
- get back dialog for hostname and domain in case of unable to guess domain - try to resolve DNS if self-ip can't resolve, to guess domain - remember entries so that when there is a problem you don't have to re-enter everything (ncurses sucking stuff in case of stdio-frontend..) - use larger buffer for list_directory since in /dev there can be *many* files
Diffstat (limited to 'mdk-stage1/disk.c')
-rw-r--r--mdk-stage1/disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/disk.c b/mdk-stage1/disk.c
index 02a9e95b2..c7ad9c7f0 100644
--- a/mdk-stage1/disk.c
+++ b/mdk-stage1/disk.c
@@ -54,7 +54,7 @@ static char * disk_extract_list_directory(char * direct)
static enum return_type try_with_device(char *dev_name)
{
char * questions_location[] = { "Directory or ISO image", NULL };
- char ** answers_location;
+ static char ** answers_location = NULL;
char device_fullname[50];
char location_full[500];