Changeset 3256 in MondoRescue for branches


Ignore:
Timestamp:
Mar 3, 2014, 11:16:42 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Fix a bug in libmondo-cli detected during an NFS test, where a wrong variable was used to make a test
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/libmondo-cli.c

    r3225 r3256  
    459459            mr_asprintf(tmp1, "mount | grep -E \"^[a-z]*#*%s[/]* .*\" | cut -d' ' -f3", bkpinfo->netfs_mount);
    460460        }
    461         strncpy(bkpinfo->isodir, call_program_and_get_last_line_of_output(tmp), MAX_STR_LEN / 4);
     461        strncpy(bkpinfo->isodir, call_program_and_get_last_line_of_output(tmp1), MAX_STR_LEN / 4);
    462462        mr_free(tmp1);
    463463
Note: See TracChangeset for help on using the changeset viewer.