Changeset 3308 for branches/3.2


Ignore:
Timestamp:
Jul 3, 2014, 9:13:27 PM (5 years ago)
Author:
bruno
Message:
  • Do not remove spaces in analyze of good format as that create a failure if only one format is returned.
Location:
branches/3.2/mondo/src/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/libmondo-devices.c

    r3292 r3308  
    10401040        mr_asprintf(good_formats, " %s",p);
    10411041        (void)pclose(pin);
    1042         mr_strip_spaces(good_formats);
    10431042        mr_strcat(good_formats, " swap lvm raid ntfs-3g ntfs 7 ");  // " ntfs 7 " -- um, cheating much? :)
    10441043        if (strstr(good_formats, format_sz)) {
  • branches/3.2/mondo/src/common/libmondo-mountlist.c

    r3279 r3308  
    305305                }
    306306                /* is format sensible? */
    307                 if (!is_this_a_valid_disk_format
    308                     (mountlist->el[pos].format)) {
     307                if (!is_this_a_valid_disk_format(mountlist->el[pos].format)) {
    309308                    mr_asprintf(tmp, " %s has unsupported format %s.", device, mountlist->el[pos].format);
    310309                    log_it(tmp);
Note: See TracChangeset for help on using the changeset viewer.