Changeset 19f24fd in mainline for uspace/srv/bd/part/guid_part/guid_part.c
- Timestamp:
- 2010-02-05T22:25:52Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dafa2d04
- Parents:
- 83349b03 (diff), d42976c (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
r83349b03 r19f24fd 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.