Changeset 3583 in MondoRescue for branches/3.2/mondo/src/common/libmondo-cli.c


Ignore:
Timestamp:
May 30, 2016, 3:03:51 AM (8 years ago)
Author:
Bruno Cornec
Message:
  • Fix a bug (assert error) when mondoarchive tries to mount the NFS FS in case it wasn't done already
File:
1 edited

Legend:

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

    r3465 r3583  
    511511                    mr_asprintf(tmp1, "mount | grep -E \"^%s[/]* .*\" | cut -d' ' -f3", bkpinfo->netfs_mount);
    512512                }
    513                 strncpy(bkpinfo->isodir, call_program_and_get_last_line_of_output(tmp), MAX_STR_LEN / 4);
     513                strncpy(bkpinfo->isodir, call_program_and_get_last_line_of_output(tmp1), MAX_STR_LEN / 4);
    514514                if (strlen(bkpinfo->isodir) < 3) {
    515515                    retval++;
Note: See TracChangeset for help on using the changeset viewer.