Changeset 3509 in MondoRescue for branches/3.2/mondo/src/lib/mr_sys.c
- Timestamp:
- Feb 13, 2016, 2:57:55 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/lib/mr_sys.c
r3498 r3509 36 36 res = vasprintf(&cmd, fmt, args); 37 37 if (res == -1) { 38 mr_msg_int(1,line,file," Unable to alloc memory in mr_asprintf\nExiting...");39 mr_exit(-1,"Unable to alloc memory in mr_ asprintf");38 mr_msg_int(1,line,file,"mr_system_int","Unable to alloc memory in mr_system_int\nExiting..."); 39 mr_exit(-1,"Unable to alloc memory in mr_system_int"); 40 40 } 41 41 /* … … 43 43 */ 44 44 res = system(cmd); 45 if (res < 0 ) { 46 mr_msg(4, "Unable to execute %s",cmd); 47 } 45 48 mr_free(cmd); 46 49 va_end(args);
Note:
See TracChangeset
for help on using the changeset viewer.