diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-01-12 15:07:06 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-01-12 15:07:06 +0000 |
commit | a478fed2774cfadcdb6cb27067d50cc578c95d86 (patch) | |
tree | 2f1092d8029a1460ad8c7c5e70e73087f02b12e2 /mdk-stage1 | |
parent | 8155b0d3a4854b4bf6328ebe8deba3c33bd93057 (diff) | |
download | drakx-backup-do-not-use-a478fed2774cfadcdb6cb27067d50cc578c95d86.tar drakx-backup-do-not-use-a478fed2774cfadcdb6cb27067d50cc578c95d86.tar.gz drakx-backup-do-not-use-a478fed2774cfadcdb6cb27067d50cc578c95d86.tar.bz2 drakx-backup-do-not-use-a478fed2774cfadcdb6cb27067d50cc578c95d86.tar.xz drakx-backup-do-not-use-a478fed2774cfadcdb6cb27067d50cc578c95d86.zip |
add more memory carefulness with CDROM install
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/cdrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/cdrom.c b/mdk-stage1/cdrom.c index 73ccc273e..a17db46c1 100644 --- a/mdk-stage1/cdrom.c +++ b/mdk-stage1/cdrom.c @@ -50,7 +50,7 @@ static enum return_type try_with_device(char *dev_name, char * dev_model) unset_param(MODE_AUTOMATIC); /* we are in a fallback mode */ remove_wait_message(); - sprintf(msg, "I can't access a CDROM disc (drive %s).\nRetry?", dev_model); + snprintf(msg, sizeof(msg), "I can't access a CDROM disc (drive %s).\nRetry?", dev_model); results = ask_yes_no(msg); if (results == RETURN_OK) return try_with_device(dev_name, dev_model); |