Changeset 2331 in MondoRescue for branches/2.2.10/mondo/src/common/libmondo-mountlist.c
- Timestamp:
- Aug 18, 2009, 3:25:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/libmondo-mountlist.c
r2330 r2331 60 60 char tmp = NULL; 61 61 char *device = NULL; 62 char mountpoint[MAX_STR_LEN];63 62 64 63 char *flaws_str = NULL; … … 104 103 continue; 105 104 } 106 strcpy(mountpoint, mountlist->el[pos].mountpoint);107 105 /* is it too big? */ 108 106 if (curr_part_no > 'h') { … … 186 184 187 185 device = build_partition_name(drive, curr_part_no); 188 strcpy(mountpoint, mountlist->el[pos].mountpoint);189 186 if (pos > 0 && !npos) { 190 187 /* gap in the partition list? */ … … 271 268 continue; 272 269 } 273 strcpy(mountpoint, mountlist->el[pos].mountpoint);274 270 /* is it too big? */ 275 271 if (curr_part_no > 'h') {
Note:
See TracChangeset
for help on using the changeset viewer.