Changeset 1ccafee in mainline for uspace/srv/bd/part/mbr_part
- Timestamp:
- 2010-01-27T22:22:09Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0b9ac3c, a9bbe48d
- Parents:
- fb6f1a5
- File:
-
- 1 edited
-
uspace/srv/bd/part/mbr_part/mbr_part.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/part/mbr_part/mbr_part.c
rfb6f1a5 r1ccafee 64 64 #include <devmap.h> 65 65 #include <sys/types.h> 66 #include <sys/typefmt.h> 66 67 #include <inttypes.h> 67 68 #include <libblock.h> … … 248 249 size_mb = (part->length * block_size + 1024 * 1024 - 1) 249 250 / (1024 * 1024); 250 printf(NAME ": Registered device %s: %" PRIu64 " blocks " 251 "%" PRIu64 " MB.\n", 252 name, (uint64_t) part->length, size_mb); 251 printf(NAME ": Registered device %s: %" PRIuBN " blocks " 252 "%" PRIu64 " MB.\n", name, part->length, size_mb); 253 253 254 254 part->dev = dev; … … 336 336 rc = block_read_direct(indev_handle, ba, 1, brb); 337 337 if (rc != EOK) { 338 printf(NAME ": Failed reading EBR block at %u.\n", ba); 338 printf(NAME ": Failed reading EBR block at %" 339 PRIu32 ".\n", ba); 339 340 return rc; 340 341 }
Note:
See TracChangeset
for help on using the changeset viewer.
