Changeset 2236 in MondoRescue for branches/2.2.9


Ignore:
Timestamp:
Jun 19, 2009, 7:53:17 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Still trying to fix issue with mountlist analysis at restore time
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  
    687687        }
    688688        if (j == noof_drives) {
    689             log_msg(8,"Adding drive %s to list", drivelist->el[noof_drives].device[63]);
    690689            strncpy(drivelist->el[noof_drives].device, drive, 63);
    691690            drivelist->el[noof_drives].device[63] = '\0';
     691            log_msg(8,"Adding drive %s to list", drivelist->el[noof_drives].device);
    692692            noof_drives++;
    693             drivelist->el[noof_drives++].device[63] = '\0';
    694693        }
    695694        paranoid_free(drive);
  • branches/2.2.9/mondo/test/test-truncname.c

    r2235 r2236  
    6262        "/dev/cciss/c1d12",
    6363        "/dev/mapper/mpath34",
    64         "",
    6564        NULL
    6665};
     
    7978    mr_asprintf(&part,"%s",list[i]);
    8079    disk = truncate_to_drive_name(part);
    81     log_it(" belongs to disk %s",disk);
     80    log_it("...belongs to disk %s",disk);
    8281    mr_free(part);
    8382}
Note: See TracChangeset for help on using the changeset viewer.