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/mondoarchive/mondoarchive.c

    r2241 r2291  
    364364        retval += res;
    365365        if (res) {
    366             mr_asprintf(&say_at_end,
    367                    "Data archived. Please check the logs, just as a precaution. ");
     366            mr_asprintf(&say_at_end, "Data archived. Please check the logs, just as a precaution. ");
    368367        } else {
    369368            mr_asprintf(&say_at_end, "Data archived OK. ");
     
    377376            mr_asprintf(&tmp, "%d difference%c found.", -res,
    378377                    (-res != 1) ? 's' : ' ');
    379             mr_asprintf(&say_at_end, tmp);
     378            mr_asprintf(&say_at_end, "%s", tmp);
    380379            log_to_screen(tmp);
    381380            mr_free(tmp);
Note: See TracChangeset for help on using the changeset viewer.