Changeset 7e266ff in mainline
- Timestamp:
- 2009-09-04T19:37:38Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ad4b32c
- Parents:
- 9aa54d4a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/part/mbr_part/mbr_part.c
r9aa54d4a r7e266ff 84 84 85 85 enum ptype { 86 /** Unused partition entry */ 87 PT_UNUSED = 0x00, 86 88 /** Extended partition */ 87 PT_EXTENDED = 0x05 89 PT_EXTENDED = 0x05, 88 90 }; 89 91 … … 375 377 part->length = len; 376 378 377 part->present = ( sa != 0 || len != 0) ? true : false;379 part->present = (pte->ptype != PT_UNUSED) ? true : false; 378 380 379 381 part->dev = 0;
Note:
See TracChangeset
for help on using the changeset viewer.