Changeset 2497


Ignore:
Timestamp:
Nov 29, 2009, 3:25:26 AM (9 years ago)
Author:
bruno
Message:

Tags MondoRescue? version 2.2.9.1

Files:
1 edited
1 copied

Legend:

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

    r1176 r2497  
    2222/*@unused@*/
    2323//static char cvsid[] = "$Id$";
     24
     25/* Reference to global bkpinfo */
     26extern struct s_bkpinfo *bkpinfo;
    2427
    2528/**
     
    839842
    840843    for (currline = 0; currline < mountlist->entries; currline++) {
    841         mr_asprintf(&curr_mountpoint, mountlist->el[currline].mountpoint);
     844        mr_asprintf(&curr_mountpoint, "%s", mountlist->el[currline].mountpoint);
    842845        for (i = 0, copies = 0, last_copy = -1; i < mountlist->entries;
    843846             i++) {
     
    12321235    assert(b >= 0);
    12331236
    1234     mr_asprintf(&device, mountlist->el[a].device);
    1235     mr_asprintf(&mountpoint, mountlist->el[a].mountpoint);
    1236     mr_asprintf(&format, mountlist->el[a].format);
     1237    mr_asprintf(&device, "%s", mountlist->el[a].device);
     1238    mr_asprintf(&mountpoint, "%s", mountlist->el[a].mountpoint);
     1239    mr_asprintf(&format, "%s", mountlist->el[a].format);
    12371240
    12381241    size = mountlist->el[a].size;
Note: See TracChangeset for help on using the changeset viewer.