Changeset 2334 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-cli.c
- Timestamp:
- Aug 18, 2009, 5:28:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-cli.c
r2332 r2334 886 886 if ((flag_set['t'] && !flag_set['d']) && (! bkpinfo->restore_data)) { 887 887 log_it("Hmm! No tape drive specified. Let's see what we can do."); 888 if ((tmp1 = find_tape_device_and_size(NULL)) == NULL) {888 if ((tmp1 = mr_find_tape_device()) == NULL) { 889 889 fatal_error("Tape device not specified. I couldn't find it either."); 890 890 } … … 1191 1191 1192 1192 if (flag_set['x']) { 1193 mr_asprintf(bkpinfo->image_devs, flag_val['x']);1193 mr_asprintf(bkpinfo->image_devs, "%s", flag_val['x']); 1194 1194 if ((run_program_and_log_output("which ntfsclone", 2)) && (! bkpinfo->restore_data)) { 1195 1195 fatal_error("Please install ntfsprogs package/tarball."); … … 1202 1202 1203 1203 if ((flag_set['k']) && (! bkpinfo->restore_data)) { 1204 mr_free(bkpinfo->kernel_path); 1204 1205 mr_asprintf(bkpinfo->kernel_path, "%s", flag_val['k']); 1205 1206 if (!strcmp(bkpinfo->kernel_path, "failsafe")) { … … 1552 1553 case SIGKILL: 1553 1554 mr_asprintf(tmp, "SIGKILL"); 1554 mr_asprintf(tmp2, 1555 "I seriously have no clue how this signal even got to me. Something's wrong with your system."); 1555 mr_asprintf(tmp2, "I seriously have no clue how this signal even got to me. Something's wrong with your system."); 1556 1556 break; 1557 1557 case SIGTERM: … … 1565 1565 case SIGSEGV: 1566 1566 mr_asprintf(tmp, "SIGSEGV"); 1567 mr_asprintf(tmp2, 1568 "Internal programming error. Please send a backtrace as well as your log."); 1567 mr_asprintf(tmp2, "Internal programming error. Please send a backtrace as well as your log."); 1569 1568 break; 1570 1569 case SIGPIPE:
Note:
See TracChangeset
for help on using the changeset viewer.