Changeset 5cde90f in mainline for uspace/app/mkfat/mkfat.c
- Timestamp:
- 2010-02-19T17:16:46Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 617652f
- Parents:
- b86d436 (diff), f41aa81 (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/app/mkfat/mkfat.c
rb86d436 r5cde90f 44 44 #include <devmap.h> 45 45 #include <byteorder.h> 46 #include <sys/types.h> 47 #include <sys/typefmt.h> 48 #include <inttypes.h> 46 49 #include <errno.h> 47 50 #include "fat.h" … … 95 98 size_t block_size; 96 99 char *endptr; 97 bn_t dev_nblocks;100 aoff64_t dev_nblocks; 98 101 99 102 cfg.total_sectors = 0; … … 157 160 printf(NAME ": Warning, failed to obtain block device size.\n"); 158 161 } else { 159 printf(NAME ": Block device has %llu blocks.\n", dev_nblocks); 162 printf(NAME ": Block device has %" PRIuOFF64 " blocks.\n", 163 dev_nblocks); 160 164 cfg.total_sectors = dev_nblocks; 161 165 } … … 232 236 static int fat_blocks_write(struct fat_params const *par, dev_handle_t handle) 233 237 { 234 bn_t addr;238 aoff64_t addr; 235 239 uint8_t *buffer; 236 240 int i;
Note:
See TracChangeset
for help on using the changeset viewer.