Changeset 279 for branches/2.06


Ignore:
Timestamp:
Jan 4, 2006, 10:16:34 AM (14 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
  • branches/2.06/mondo/mondo/common/libmondo-mountlist.c

    r128 r279  
    190190            /* is format sensible? */
    191191            if (!is_this_a_valid_disk_format(mountlist->el[pos].format)) {
    192                 sprintf(tmp, " %s has unsupported format.", device);
     192                sprintf(tmp, " %s has unsupported format %s.", device, mountlist->el[pos].format);
    193193                log_it(tmp);
    194194                strcat(flaws_str, tmp);
     
    283283            /* is format sensible? */
    284284            if (!is_this_a_valid_disk_format(mountlist->el[pos].format)) {
    285                 sprintf(tmp, " %s has unsupported format.", device);
     285                sprintf(tmp, " %s has unsupported format %s.", device, mountlist->el[pos].format);
    286286                log_it(tmp);
    287287                strcat(flaws_str, tmp);
     
    343343                if (!is_this_a_valid_disk_format
    344344                    (mountlist->el[pos].format)) {
    345                     sprintf(tmp, " %s has unsupported format.", device);
     345                    sprintf(tmp, " %s has unsupported format %s.", device, mountlist->el[pos].format);
    346346                    log_it(tmp);
    347347                    strcat(flaws_str, tmp);
     
    505505        /* is format sensible? */
    506506        if (!is_this_a_valid_disk_format(mountlist->el[pos].format)) {
    507             sprintf(tmp, " %s has unsupported format.", device);
     507            sprintf(tmp, " %s has unsupported format %s.", device, mountlist->el[pos].format);
    508508            log_it(tmp);
    509509            strcat(flaws_str, tmp);
Note: See TracChangeset for help on using the changeset viewer.