Changeset 3116 in MondoRescue for branches/3.0/mondo/src/mondorestore


Ignore:
Timestamp:
May 7, 2013, 5:42:54 AM (11 years ago)
Author:
Bruno Cornec
Message:

r5277@localhost: bruno | 2013-05-07 01:22:17 +0200

  • Fix a compiler issue with the new test-mrstresc and also most compiler warnings
Location:
branches/3.0/mondo/src/mondorestore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mondo/src/mondorestore/mondo-rstr-tools.c

    r3076 r3116  
    281281char *mds = NULL;
    282282int retval = 0, i;
    283 bool already_mounted = FALSE;
    284283
    285284assert(bkpinfo != NULL);
     
    307306if (is_this_device_mounted(g_isodir_device)) {
    308307    log_to_screen("WARNING - isodir is already mounted");
    309     already_mounted = TRUE;
    310308} else {
    311309    mr_asprintf(&mount_isodir_command, "mount %s", g_isodir_device);
     
    10271025        "Filelist and biggielist already recovered from media. Yay!");
    10281026} else {
    1029     getcwd(tmp, MAX_STR_LEN);
     1027    if (getcwd(tmp, MAX_STR_LEN) == NULL) {
     1028        // FIXME
     1029    }
    10301030    if (chdir(bkpinfo->tmpdir)) {
    10311031        // FIXME
  • branches/3.0/mondo/src/mondorestore/mondorestore.c

    r3111 r3116  
    24212421                                      &ctrl_chr);
    24222422    if (ctrl_chr == BLK_START_EXTENDED_ATTRIBUTES) {
    2423         res =
    2424             read_EXAT_files_from_tape(&biggie_size, biggie_fname,
     2423        res = read_EXAT_files_from_tape(&biggie_size, biggie_fname,
    24252424                                      &ctrl_chr, xattr_fname, acl_fname);
    24262425    }
     
    26132612        if (ctrl_chr == BLK_START_EXTENDED_ATTRIBUTES) {
    26142613            log_it("Reading EXAT files from tape");
    2615             res =
    2616                 read_EXAT_files_from_tape(&tmp_size, tmp_fname,
     2614            res = read_EXAT_files_from_tape(&tmp_size, tmp_fname,
    26172615                                          &ctrl_chr, xattr_fname,
    26182616                                          acl_fname);
Note: See TracChangeset for help on using the changeset viewer.