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

    r2261 r2291  
    554554            (drivelist->el[i].device,
    555555             DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE)) {
    556             mr_asprintf(&tmp, " Not evaluating %s (I don't know how yet)",
    557                     drivelist->el[i].device);
     556            mr_asprintf(&tmp, " Not evaluating %s (I don't know how yet)", drivelist->el[i].device);
    558557            log_it(tmp);
    559558            paranoid_free(tmp);
     
    644643        if (copies > 1 && last_copy == currline
    645644            && strcmp(curr_mountpoint, "raid")) {
    646             mr_asprintf(&tmp, " %s %s's.", number_to_text(copies),
    647                     curr_mountpoint);
     645            mr_asprintf(&tmp, " %s %s's.", number_to_text(copies), curr_mountpoint);
    648646            mr_strcat(flaws_str, "%s", tmp);
    649647            log_it(tmp);
     
    771769                       (void *) &mountlist->el[i],
    772770                       sizeof(struct mountlist_line));
    773                 mr_asprintf(&tmp,
    774                          "%s is available; user may choose to add it to raid device",
    775                          output_list->el[items - 1].device);
     771                mr_asprintf(&tmp, "%s is available; user may choose to add it to raid device", output_list->el[items - 1].device);
    776772                log_it(tmp);
    777773                paranoid_free(tmp);
     
    891887            if (j < items) {
    892888                strcat(mountlist->el[items].device, "_dup");
    893                 mr_asprintf(&tmp,
    894                          "Duplicate entry in mountlist - renaming to %s",
    895                          mountlist->el[items].device);
     889                mr_asprintf(&tmp, "Duplicate entry in mountlist - renaming to %s", mountlist->el[items].device);
    896890                log_it(tmp);
    897891                paranoid_free(tmp);
Note: See TracChangeset for help on using the changeset viewer.