- Timestamp:
- Jan 3, 2017, 2:06:25 AM (8 years ago)
- Location:
- branches/3.3/mondo/src
- Files:
-
- 2 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 } -
branches/3.3/mondo/src/restore-scripts/mondo/mr-grub
r3542 r3645 14 14 15 15 FindBootPart() { 16 # Work only for grub v1 16 17 local i 17 18 bootpart="" … … 175 176 echo ".............Cool." 2>&1 | tee -a $LOGFILE 176 177 177 grub=`FindPathOfRESTExe grub `178 grub=`FindPathOfRESTExe grub | head -1` 178 179 mkdir -p /boot 179 180 [ "$MNT_RESTORING" ] && ln -sf /mnt/RESTORING/boot/grub /boot/grub 181 [ "$MNT_RESTORING" ] && ln -sf /mnt/RESTORING/boot/grub2 /boot/grub2 180 182 181 183 # ---------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.