Changeset 2309 in MondoRescue for branches/2.2.9/mondo


Ignore:
Timestamp:
Jul 28, 2009, 2:14:23 AM (15 years ago)
Author:
Bruno Cornec
Message:

Cosmetic changes to allow for quality to not giv false positive

Location:
branches/2.2.9/mondo/src/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-archive.c

    r2290 r2309  
    867867    log_msg(1, "lines_in_filelist = %ld", lines_in_filelist);
    868868
    869     mr_asprintf(&command,
    870869/*     "mindi --custom 2=%s 3=%s/images 4=\"%s\" 5=\"%s\" \
    8718706=\"%s\" 7=%ld 8=\"%s\" 9=\"%s\" 10=\"%s\" \
    87287111=\"%s\" 12=%s 13=%ld 14=\"%s\" 15=\"%s\" 16=\"%s\" 17=\"%s\" 18=%ld 19=%d",*/
    873             "mindi %s --custom %s %s/images '%s' '%s' \
     872    mr_asprintf(&command, "mindi %s --custom %s %s/images '%s' '%s' \
    874873'%s' %ld '%s' '%s' '%s' \
    875874'%s' %s %ld '%s' '%s' '%s' '%s' %ld %d '%s'", tmp2, bkpinfo->tmpdir,    // parameter #2
  • branches/2.2.9/mondo/src/common/libmondo-cli.c

    r2290 r2309  
    11751175
    11761176    if (flag_set['b']) {
    1177         mr_asprintf(&psz, flag_val['b']);
     1177        mr_asprintf(&psz, "%s", flag_val['b']);
    11781178        log_msg(1, "psz = '%s'", psz);
    11791179        if (psz[strlen(psz) - 1] == 'k') {
     
    15731573    case SIGKILL:
    15741574        mr_asprintf(&tmp, "SIGKILL");
    1575         mr_asprintf(&tmp2,
    1576                "I seriously have no clue how this signal even got to me. Something's wrong with your system.");
     1575        mr_asprintf(&tmp2, "I seriously have no clue how this signal even got to me. Something's wrong with your system.");
    15771576        break;
    15781577    case SIGTERM:
     
    15861585    case SIGSEGV:
    15871586        mr_asprintf(&tmp, "SIGSEGV");
    1588         mr_asprintf(&tmp2,
    1589                "Internal programming error. Please send a backtrace as well as your log.");
     1587        mr_asprintf(&tmp2, "Internal programming error. Please send a backtrace as well as your log.");
    15901588        break;
    15911589    case SIGPIPE:
Note: See TracChangeset for help on using the changeset viewer.