Changeset 3237 in MondoRescue for branches/3.2/mondo/src/common/libmondo-mountlist.c
- Timestamp:
- Jan 3, 2014, 5:44:13 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/common/libmondo-mountlist.c
r3236 r3237 67 67 68 68 /*@ pointers ******************************************************* */ 69 char *part_table_fmt ;69 char *part_table_fmt = NULL; 70 70 71 71 /*@ initialize ***************************************************** */ … … 195 195 part_table_fmt = which_partition_format(drive); 196 196 /* no spare primary partitions to help accommodate the logical(s)? */ 197 if ((curr_part_no >= 5 && prev_part_no == 4) 198 && (strcmp(part_table_fmt, "MBR") == 0)) { 197 if ((curr_part_no >= 5 && prev_part_no == 4) && (strcmp(part_table_fmt, "MBR") == 0)) { 199 198 mr_asprintf(tmp, " Partition %ss4 is occupied.", drive); 200 199 log_it(tmp); … … 203 202 res++; 204 203 } 204 mr_free(part_table_fmt); 205 205 206 /* does partition /dev/adXsY exist more than once in the mountlist? */ 206 207 for (i = 0, device_copies = 0;
Note:
See TracChangeset
for help on using the changeset viewer.