Changeset 280 in MondoRescue for trunk


Ignore:
Timestamp:
Jan 4, 2006, 10:24:23 AM (18 years ago)
Author:
andree
Message:

Add the actual format to messages after calls to function
is_this_a_valid_disk_format() about unsupported formats.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/mondo/common/libmondo-mountlist.c

    r171 r280  
    154154            /* is format sensible? */
    155155            if (!is_this_a_valid_disk_format(mountlist->el[pos].format)) {
    156                 asprintf(&tmp, " %s has unsupported format.", device);
     156                asprintf(&tmp, " %s has unsupported format %s.", device, mountlist->el[pos].format);
    157157                log_it(tmp);
    158158                strcat(flaws_str, tmp);
     
    257257            /* is format sensible? */
    258258            if (!is_this_a_valid_disk_format(mountlist->el[pos].format)) {
    259                 asprintf(&tmp, " %s has unsupported format.", device);
     259                asprintf(&tmp, " %s has unsupported format %s.", device, mountlist->el[pos].format);
    260260                log_it(tmp);
    261261                strcat(flaws_str, tmp);
     
    325325                if (!is_this_a_valid_disk_format
    326326                    (mountlist->el[pos].format)) {
    327                     asprintf(&tmp, " %s has unsupported format.", device);
     327                    asprintf(&tmp, " %s has unsupported format %s.", device, mountlist->el[pos].format);
    328328                    log_it(tmp);
    329329                    strcat(flaws_str, tmp);
     
    499499        /* is format sensible? */
    500500        if (!is_this_a_valid_disk_format(mountlist->el[pos].format)) {
    501             asprintf(&tmp, " %s has unsupported format.", device);
     501            asprintf(&tmp, " %s has unsupported format %s.", device, mountlist->el[pos].format);
    502502            log_it(tmp);
    503503            strcat(flaws_str, tmp);
Note: See TracChangeset for help on using the changeset viewer.