Ignore:
Timestamp:
Sep 25, 2013, 8:55:43 AM (11 years ago)
Author:
Bruno Cornec
Message:
  • Modification to 3.1 branch to make it extremely similar to 3.0. What remains are function rewrite with allocation in the function and desallocation outside of the function. Will be next step
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/mondo/src/common/libmondo-mountlist.c

    r3161 r3190  
    587587
    588588    /* Look for duplicate mountpoints in mountlist. */
    589 
    590589    for (currline = 0; currline < mountlist->entries; currline++) {
    591590        mr_asprintf(curr_mountpoint, "%s", mountlist->el[currline].mountpoint);
     
    743742    for (i = 0; i < mountlist->entries; i++) {
    744743        if (strstr(mountlist->el[i].mountpoint, "raid")) {
    745             used_by = which_raid_device_is_using_this_partition(raidlist,
    746                                                           mountlist->el[i].
    747                                                           device);
     744            used_by = which_raid_device_is_using_this_partition(raidlist, mountlist->el[i].device);
    748745            if (used_by < 0) {
    749746                memcpy((void *) &output_list->el[items++],
Note: See TracChangeset for help on using the changeset viewer.