Changeset 3645 in MondoRescue for branches/3.3/mondo/src/lib
- Timestamp:
- Jan 3, 2017, 2:06:25 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mondo/src/lib/mr_mem.c
r3643 r3645 36 36 *allocated = NULL; 37 37 } else { 38 mr_msg_int(98,line,file,"mr_ asprintf","Attempt to free NULL pointer");38 mr_msg_int(98,line,file,"mr_free_int","Attempt to free NULL pointer"); 39 39 } 40 40 } … … 47 47 ret = malloc(size); 48 48 if (ret == NULL) { 49 mr_msg_int(1,line,file,"mr_ asprintf","Unable to alloc memory in mr_malloc\nExiting...");49 mr_msg_int(1,line,file,"mr_malloc_int","Unable to alloc memory in mr_malloc\nExiting..."); 50 50 mr_exit(-1,"Unable to alloc memory in mr_malloc"); 51 51 } … … 62 62 res = vasprintf(strp, fmt, args); 63 63 if (res == -1) { 64 mr_msg_int(1,line,file,"mr_asprintf ","Unable to alloc memory in mr_asprintf\nExiting...");64 mr_msg_int(1,line,file,"mr_asprintf_int","Unable to alloc memory in mr_asprintf\nExiting..."); 65 65 mr_exit(-1,"Unable to alloc memory in mr_asprintf"); 66 66 }
Note:
See TracChangeset
for help on using the changeset viewer.