Changeset 2296 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-cli.c
- Timestamp:
- Jul 23, 2009, 2:53:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-cli.c
r2291 r2296 901 901 } 902 902 flag_set['d'] = TRUE; 903 mr_asprintf(&tmp1, 904 "You didn't specify a tape streamer device. I'm assuming %s", 905 flag_val['d']); 903 mr_asprintf(&tmp1, "You didn't specify a tape streamer device. I'm assuming %s", flag_val['d']); 906 904 log_to_screen(tmp1); 907 905 mr_free(tmp1); … … 1184 1182 1185 1183 if (flag_set['b']) { 1186 mr_asprintf(&psz, flag_val['b']);1184 mr_asprintf(&psz, "%s", flag_val['b']); 1187 1185 log_msg(1, "psz = '%s'", psz); 1188 1186 if (psz[strlen(psz) - 1] == 'k') { … … 1230 1228 && !does_file_exist(bkpinfo->kernel_path)) { 1231 1229 retval++; 1232 mr_asprintf(&tmp1, 1233 "You specified kernel '%s', which does not exist\n", 1234 bkpinfo->kernel_path); 1230 mr_asprintf(&tmp1, "You specified kernel '%s', which does not exist\n", bkpinfo->kernel_path); 1235 1231 log_to_screen(tmp1); 1236 1232 mr_free(tmp1); … … 1272 1268 if (i) { 1273 1269 retval++; 1274 mr_asprintf(&tmp2, 1275 "Are you sure directory '%s' exists in remote dir '%s'?\nIf so, do you have rights to write to it?\n", 1276 bkpinfo->nfs_remote_dir, bkpinfo->nfs_mount); 1270 mr_asprintf(&tmp2, "Are you sure directory '%s' exists in remote dir '%s'?\nIf so, do you have rights to write to it?\n", bkpinfo->nfs_remote_dir, bkpinfo->nfs_mount); 1277 1271 log_to_screen(tmp2); 1278 1272 mr_free(tmp2); … … 1593 1587 case SIGKILL: 1594 1588 mr_asprintf(&tmp, "SIGKILL"); 1595 mr_asprintf(&tmp2, 1596 "I seriously have no clue how this signal even got to me. Something's wrong with your system."); 1589 mr_asprintf(&tmp2, "I seriously have no clue how this signal even got to me. Something's wrong with your system."); 1597 1590 break; 1598 1591 case SIGTERM: … … 1606 1599 case SIGSEGV: 1607 1600 mr_asprintf(&tmp, "SIGSEGV"); 1608 mr_asprintf(&tmp2, 1609 "Internal programming error. Please send a backtrace as well as your log."); 1601 mr_asprintf(&tmp2, "Internal programming error. Please send a backtrace as well as your log."); 1610 1602 break; 1611 1603 case SIGPIPE:
Note:
See TracChangeset
for help on using the changeset viewer.