Changeset 3185 in MondoRescue for branches/3.0/mondo/test/test-truncname.c


Ignore:
Timestamp:
Sep 20, 2013, 2:29:57 PM (11 years ago)
Author:
Bruno Cornec
Message:

Simplify the interface of mr_getline and mr_asprintf. With 3.1 compatibility now will allow backports from this branch into 3.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mondo/test/test-truncname.c

    r3158 r3185  
    6767int i;
    6868
    69 mr_asprintf(&MONDO_LOGFILE,"/tmp/mrtest-truncname.log");
     69mr_asprintf(MONDO_LOGFILE,"/tmp/mrtest-truncname.log");
    7070
    7171/* Globals */
     
    7777for (i=0; list[i] != NULL; i++) {
    7878    log_it("%d: partition %s ...",i, list[i]);
    79     mr_asprintf(&part,"%s",list[i]);
     79    mr_asprintf(part,"%s",list[i]);
    8080    disk = truncate_to_drive_name(part);
    8181    log_it("...belongs to disk %s",disk);
Note: See TracChangeset for help on using the changeset viewer.