Ignore:
Timestamp:
Jul 22, 2009, 2:03:44 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Fix a printing error in mindi for the tar command
  • Fix all mr_asprintf which had no second param as a string
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/mondorestore/mondorestore.c

    r2242 r2290  
    17831783//      if (strstr(tarball_fname, ".star."))
    17841784        if (use_star) {
    1785             mr_asprintf(&command,
    1786                     "star -x -force-remove -U " STAR_ACL_SZ
    1787                     " errctl= file=%s", tarball_fname);
     1785            mr_asprintf(&command, "star -x -force-remove -U " STAR_ACL_SZ " errctl= file=%s", tarball_fname);
    17881786            if (strstr(tarball_fname, ".bz2")) {
    17891787                mr_strcat(command, " -bz");
     
    17911789        } else {
    17921790            if (filelist_subset_fname[0] != '\0') {
    1793                 mr_asprintf(&command,
    1794                         "afio -i -M 8m -b %ld -c %ld %s -w '%s' %s",
    1795                         TAPE_BLOCK_SIZE,
    1796                         BUFSIZE, executable, filelist_subset_fname,
    1797 //             files_to_restore_this_time_fname,
    1798                         tarball_fname);
     1791                mr_asprintf(&command, "afio -i -M 8m -b %ld -c %ld %s -w '%s' %s", TAPE_BLOCK_SIZE, BUFSIZE, executable, filelist_subset_fname, tarball_fname);
    17991792            } else {
    1800                 mr_asprintf(&command,
    1801                         "afio -i -b %ld -c %ld -M 8m %s %s",
    1802                         TAPE_BLOCK_SIZE,
    1803                         BUFSIZE, executable, tarball_fname);
     1793                mr_asprintf(&command, "afio -i -b %ld -c %ld -M 8m %s %s", TAPE_BLOCK_SIZE, BUFSIZE, executable, tarball_fname);
    18041794            }
    18051795        }
Note: See TracChangeset for help on using the changeset viewer.