- Timestamp:
- Mar 5, 2024, 3:02:02 AM (14 months ago)
- Location:
- branches/3.3/mondo/src/common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mondo/src/common/libmondo-cli.c
r3836 r3838 46 46 extern char *resolve_softlinks_to_get_to_actual_device_file(char *); 47 47 extern char *mr_popup_and_get_string(char *, char *, char *); 48 extern char *call_program_and_get_last_line_of_output(const char *); 48 49 49 50 extern t_boot mr_boot_type(void); … … 717 718 if (!flag_set['d'] && (flag_set['c'] || flag_set['w'] || flag_set['C'])) { 718 719 if (g_kernel_version >= 2.6) { 719 tmp1 = mr_popup_and_get_string("Device", "Please specify the device", bkpinfo->media_device);720 tmp1 = mr_popup_and_get_string("Device", "Please specify the device", bkpinfo->media_device); 720 721 if (tmp1 == NULL) { 721 722 retval++; -
branches/3.3/mondo/src/common/libmondo-devices.c
r3836 r3838 54 54 extern void setup_scratchdir(char *path); 55 55 extern char *mr_popup_and_get_string(char *title, char *b, char *input); 56 extern char *call_program_and_get_last_line_of_output(const char *); 56 57 57 58 static char g_cdrw_drive_is_here[MAX_STR_LEN / 4] = ""; … … 1354 1355 log_msg(2, "Mounting for Network thingy"); 1355 1356 log_msg(2, "isodir = %s", bkpinfo->isodir); 1356 if (( bkpinfo->isodir == NULL) || !strcmp(bkpinfo->isodir, "/"))) && am_I_in_disaster_recovery_mode()) {1357 if (((bkpinfo->isodir == NULL) || !strcmp(bkpinfo->isodir, "/")) && am_I_in_disaster_recovery_mode()) { 1357 1358 mr_asprintf(bkpinfo->isodir, "%s", "/tmp/isodir"); 1358 1359 log_msg(1, "isodir is being set to %s", bkpinfo->isodir); … … 2623 2624 bkpinfo->netfs_remote_dir = mr_strip_spaces(tmp1); 2624 2625 2625 tmp = popup_and_get_string("Prefix.", "Please enter the prefix that will be prepended to your ISO filename. Example: machine1 to obtain machine1-[1-9]*.iso files", bkpinfo->prefix);2626 tmp = mr_popup_and_get_string("Prefix.", "Please enter the prefix that will be prepended to your ISO filename. Example: machine1 to obtain machine1-[1-9]*.iso files", bkpinfo->prefix); 2626 2627 if (tmp == NULL) { 2627 2628 log_to_screen("User has chosen not to backup the machine"); … … 2664 2665 } 2665 2666 } 2666 tmp = popup_and_get_string("Prefix.", "Please enter the prefix that will be prepended to your ISO filename. Example: machine1 to obtain machine1-[1-9]*.iso files", bkpinfo->prefix);2667 tmp = mr_popup_and_get_string("Prefix.", "Please enter the prefix that will be prepended to your ISO filename. Example: machine1 to obtain machine1-[1-9]*.iso files", bkpinfo->prefix); 2667 2668 if (tmp == NULL) { 2668 2669 log_to_screen("User has chosen not to backup the machine"); -
branches/3.3/mondo/src/common/mondostructures.h
r3834 r3838 467 467 * If backup_media_type is anything else, this is ignored. 468 468 */ 469 char isodir[MAX_STR_LEN / 4];469 char *isodir; 470 470 471 471 /** … … 474 474 * If backup_media_type is anything else, this is ignored. 475 475 */ 476 char prefix[MAX_STR_LEN / 4];476 char *prefix; 477 477 478 478 /**
Note:
See TracChangeset
for help on using the changeset viewer.