Ignore:
Timestamp:
Aug 18, 2009, 3:20:49 PM (15 years ago)
Author:
Bruno Cornec
Message:

r3341@localhost: bruno | 2009-08-13 22:36:24 +0200

  • Replacement of some strcpy
  • Change allocation done in resolve_softlinks_to_get_to_actual_device_file(), where_is_root_mounted(), bkptype_to_string(), which_boot_loader()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/common/libmondo-mountlist.c

    r2324 r2330  
    430430        part_table_fmt = which_partition_format(drive);
    431431        /* no spare primary partitions to help accommodate the logical(s)? */
    432         if ((curr_part_no >= 5 && prev_part_no == 4)
    433             && (strcmp(part_table_fmt, "MBR") == 0)) {
     432        if ((curr_part_no >= 5 && prev_part_no == 4) && (strcmp(part_table_fmt, "MBR") == 0)) {
    434433            mr_asprintf(tmp, " Partition 4 of %s is occupied.", drive);
    435434            log_it(tmp);
     
    438437            res++;
    439438        }
     439        mr_free(part_table_fmt);
     440
    440441        /* does partition /dev/hdNX exist more than once in the mountlist? */
    441442        for (i = 0, mountpoint_copies = 0, device_copies = 0;
Note: See TracChangeset for help on using the changeset viewer.