Changeset 2236 in MondoRescue
- Timestamp:
- Jun 19, 2009, 7:53:17 PM (16 years ago)
- Location:
- branches/2.2.9/mondo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-mountlist.c
r2235 r2236 687 687 } 688 688 if (j == noof_drives) { 689 log_msg(8,"Adding drive %s to list", drivelist->el[noof_drives].device[63]);690 689 strncpy(drivelist->el[noof_drives].device, drive, 63); 691 690 drivelist->el[noof_drives].device[63] = '\0'; 691 log_msg(8,"Adding drive %s to list", drivelist->el[noof_drives].device); 692 692 noof_drives++; 693 drivelist->el[noof_drives++].device[63] = '\0';694 693 } 695 694 paranoid_free(drive); -
branches/2.2.9/mondo/test/test-truncname.c
r2235 r2236 62 62 "/dev/cciss/c1d12", 63 63 "/dev/mapper/mpath34", 64 "",65 64 NULL 66 65 }; … … 79 78 mr_asprintf(&part,"%s",list[i]); 80 79 disk = truncate_to_drive_name(part); 81 log_it(" 80 log_it("...belongs to disk %s",disk); 82 81 mr_free(part); 83 82 }
Note:
See TracChangeset
for help on using the changeset viewer.