Changeset c47e1a8 in mainline for uspace/srv/bd/part/mbr_part/mbr_part.c
- Timestamp:
- 2010-05-21T07:50:04Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d51ee2b
- Parents:
- cf8cc36 (diff), 15b592b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/part/mbr_part/mbr_part.c
rcf8cc36 rc47e1a8 97 97 bool present; 98 98 /** Address of first block */ 99 bn_t start_addr;99 aoff64_t start_addr; 100 100 /** Number of blocks */ 101 bn_t length;101 aoff64_t length; 102 102 /** Device representing the partition (outbound device) */ 103 103 dev_handle_t dev; … … 249 249 size_mb = (part->length * block_size + 1024 * 1024 - 1) 250 250 / (1024 * 1024); 251 printf(NAME ": Registered device %s: %" PRIu BN" blocks "251 printf(NAME ": Registered device %s: %" PRIuOFF64 " blocks " 252 252 "%" PRIu64 " MB.\n", name, part->length, size_mb); 253 253
Note:
See TracChangeset
for help on using the changeset viewer.