Changeset fb6f1a5 in mainline for uspace/srv/bd/part/guid_part/guid_part.c
- Timestamp:
- 2010-01-27T21:44:52Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1ccafee
- Parents:
- b79d450
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/part/guid_part/guid_part.c
rb79d450 rfb6f1a5 54 54 #include <devmap.h> 55 55 #include <sys/types.h> 56 #include <inttypes.h> 56 57 #include <libblock.h> 57 58 #include <devmap.h> … … 196 197 size_mb = (part->length * block_size + 1024 * 1024 - 1) 197 198 / (1024 * 1024); 198 printf(NAME ": Registered device %s: % llu blocks %llu MB.\n",199 name,part->length, size_mb);199 printf(NAME ": Registered device %s: %" PRIu64 " blocks " 200 "%" PRIu64 " MB.\n", name, (uint64_t) part->length, size_mb); 200 201 201 202 part->dev = dev;
Note:
See TracChangeset
for help on using the changeset viewer.