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/common/libmondo-mountlist.c

    r2237 r2290  
    532532            (drivelist->el[i].device,
    533533             DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE)) {
    534             mr_asprintf(&tmp, " Not evaluating %s (I don't know how yet)",
    535                     drivelist->el[i].device);
     534            mr_asprintf(&tmp, " Not evaluating %s (I don't know how yet)", drivelist->el[i].device);
    536535            log_it(tmp);
    537536            paranoid_free(tmp);
     
    622621        if (copies > 1 && last_copy == currline
    623622            && strcmp(curr_mountpoint, "raid")) {
    624             mr_asprintf(&tmp, " %s %s's.", number_to_text(copies),
    625                     curr_mountpoint);
     623            mr_asprintf(&tmp, " %s %s's.", number_to_text(copies), curr_mountpoint);
    626624            mr_strcat(flaws_str, "%s", tmp);
    627625            log_it(tmp);
     
    749747                       (void *) &mountlist->el[i],
    750748                       sizeof(struct mountlist_line));
    751                 mr_asprintf(&tmp,
    752                          "%s is available; user may choose to add it to raid device",
    753                          output_list->el[items - 1].device);
     749                mr_asprintf(&tmp, "%s is available; user may choose to add it to raid device", output_list->el[items - 1].device);
    754750                log_it(tmp);
    755751                paranoid_free(tmp);
     
    869865            if (j < items) {
    870866                strcat(mountlist->el[items].device, "_dup");
    871                 mr_asprintf(&tmp,
    872                          "Duplicate entry in mountlist - renaming to %s",
    873                          mountlist->el[items].device);
     867                mr_asprintf(&tmp, "Duplicate entry in mountlist - renaming to %s", mountlist->el[items].device);
    874868                log_it(tmp);
    875869                paranoid_free(tmp);
Note: See TracChangeset for help on using the changeset viewer.