Changeset 2371 in MondoRescue for branches/2.2.9/mondo/src
- Timestamp:
- Sep 8, 2009, 1:40:25 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-mountlist.c
r2350 r2371 375 375 if (physical_drive_size < 0) { 376 376 sprintf(tmp, " %s does not exist.", drive); 377 log_it(tmp); 377 378 mr_strcat(flaws_str, "%s", tmp); 378 379 res++; 379 log_msg(1, tmp);380 380 goto endoffunc; 381 381 } else { … … 481 481 paranoid_free(device); 482 482 483 if (res) { 483 if (res == 0) { 484 mr_free(flaws_str); 484 485 return (NULL); 485 486 } else { … … 532 533 log_msg(8, "Evaluating drive #%d (%s) within mountlist", i, drivelist->el[i].device); 533 534 tmp = evaluate_drive_within_mountlist(mountlist, drivelist->el[i].device); 534 if (tmp == NULL) {535 if (tmp != NULL) { 535 536 (*res)++; 536 537 }
Note:
See TracChangeset
for help on using the changeset viewer.