Changeset 2405 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-devices.c
- Timestamp:
- Sep 17, 2009, 3:45:24 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-devices.c
r2400 r2405 1407 1407 char *tmp = NULL; 1408 1408 char *p = NULL; 1409 char *tmp1 = NULL;1410 1409 char *mds = NULL; 1411 1410 char *sz_size = NULL; 1412 1411 char *command = NULL; 1413 1412 char *comment = NULL; 1414 char *prompt;1415 1413 int i; 1416 1414 FILE *fin; 1417 1415 1418 malloc_string(prompt);1419 malloc_string(tmp1);1420 1416 assert(bkpinfo != NULL); 1421 1417 bkpinfo->nonbootable_backup = FALSE; … … 1456 1452 if (archiving_to_media) { 1457 1453 if ((bkpinfo->backup_media_type != dvd) && (bkpinfo->backup_media_type != usb)) { 1458 if (ask_me_yes_or_no 1459 ("Is your computer a laptop, or does the CD writer incorporate BurnProof technology?")) 1460 { 1454 if (ask_me_yes_or_no("Is your computer a laptop, or does the CD writer incorporate BurnProof technology?")) { 1461 1455 bkpinfo->manual_cd_tray = TRUE; 1462 1456 } 1463 1457 } 1464 if ((bkpinfo->compression_level = 1465 which_compression_level()) == -1) { 1458 if ((bkpinfo->compression_level = which_compression_level()) == -1) { 1466 1459 log_to_screen("User has chosen not to backup the PC"); 1467 1460 finish(1); … … 1495 1488 mr_free(comment); 1496 1489 1497 bkpinfo->cdrw_speed = atoi(tmp1); // if DVD then this shouldn't ever be used anyway :) 1490 bkpinfo->cdrw_speed = atoi(tmp); // if DVD then this shouldn't ever be used anyway :) 1491 mr_free(tmp); 1498 1492 1499 1493 mr_asprintf(comment, "How much data (in Megabytes) will each %s store?", mds); … … 2022 2016 } 2023 2017 paranoid_free(sz_size); 2024 paranoid_free(tmp1);2025 paranoid_free(prompt);2026 2018 return (0); 2027 2019 }
Note:
See TracChangeset
for help on using the changeset viewer.