Ignore:
Timestamp:
Jul 22, 2009, 2:11:26 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

(report bug fix done originaly in 2.2.9)

File:
1 edited

Legend:

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

    r2287 r2291  
    17251725
    17261726        if (use_star) {
    1727             mr_asprintf(&command,
    1728                     "star -x -force-remove -U " STAR_ACL_SZ
    1729                     " errctl= file=%s", tarball_fname);
     1727            mr_asprintf(&command, "star -x -force-remove -U " STAR_ACL_SZ " errctl= file=%s", tarball_fname);
    17301728            if (strstr(tarball_fname, ".bz2")) {
    17311729                mr_strcat(command, " -bz");
     
    17361734            } else {
    17371735                if (filelist_subset_fname != NULL) {
    1738                     mr_asprintf(&command,
    1739                         "afio -i -M 8m -b %ld -c %ld %s -w '%s' %s",
    1740                         TAPE_BLOCK_SIZE,
    1741                         BUFSIZE, executable, filelist_subset_fname,
    1742                         tarball_fname);
     1736                    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);
    17431737                } else {
    1744                     mr_asprintf(&command,
    1745                         "afio -i -b %ld -c %ld -M 8m %s %s",
    1746                         TAPE_BLOCK_SIZE,
    1747                         BUFSIZE, executable, tarball_fname);
     1738                    mr_asprintf(&command, "afio -i -b %ld -c %ld -M 8m %s %s", TAPE_BLOCK_SIZE, BUFSIZE, executable, tarball_fname);
    17481739                }
    17491740            }
Note: See TracChangeset for help on using the changeset viewer.