Changeset a9bbe48d in mainline for uspace/srv/bd/part/guid_part/guid_part.c
- Timestamp:
- 2010-01-27T22:23:50Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e7aa9f4
- Parents:
- 95e6c4f (diff), 1ccafee (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/guid_part/guid_part.c
r95e6c4f ra9bbe48d 54 54 #include <devmap.h> 55 55 #include <sys/types.h> 56 #include <sys/typefmt.h> 57 #include <inttypes.h> 56 58 #include <libblock.h> 57 59 #include <devmap.h> … … 196 198 size_mb = (part->length * block_size + 1024 * 1024 - 1) 197 199 / (1024 * 1024); 198 printf(NAME ": Registered device %s: % llu blocks %llu MB.\n",199 name, part->length, size_mb);200 printf(NAME ": Registered device %s: %" PRIu64 " blocks " 201 "%" PRIuBN " MB.\n", name, part->length, size_mb); 200 202 201 203 part->dev = dev;
Note:
See TracChangeset
for help on using the changeset viewer.