Changeset 2235 in MondoRescue
- Timestamp:
- Jun 19, 2009, 6:05:10 PM (16 years ago)
- Location:
- branches/2.2.9/mondo
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-mountlist.c
r2232 r2235 537 537 paranoid_free(tmp); 538 538 } else { 539 log_msg(8, "Evaluating drive #%d (%s) within mountlist", i, drivelist->el[i].device); 539 540 if ((tmp = evaluate_drive_within_mountlist(mountlist, drivelist->el[i].device)) == NULL) { 540 541 res++; … … 686 687 } 687 688 if (j == noof_drives) { 688 strcpy(drivelist->el[noof_drives++].device, truncdrive); 689 log_msg(8,"Adding drive %s to list", drivelist->el[noof_drives].device[63]); 690 strncpy(drivelist->el[noof_drives].device, drive, 63); 691 drivelist->el[noof_drives].device[63] = '\0'; 692 noof_drives++; 689 693 drivelist->el[noof_drives++].device[63] = '\0'; 690 694 } … … 693 697 } 694 698 drivelist->entries = noof_drives; 695 log_msg(8, "Made list of drives");699 log_msg(8, "Made list of %d drives",noof_drives); 696 700 697 701 return (noof_drives); -
branches/2.2.9/mondo/test/test-mountlist.c
r2234 r2235 87 87 ret = evaluate_mountlist(mountlist, tmpA, tmpB, tmpC); 88 88 log_it("after evaluate_mountlist"); 89 90 mr_free(MONDO_LOGFILE); 89 91 exit(0); 90 92 }
Note:
See TracChangeset
for help on using the changeset viewer.