Changeset 46c20c8 in mainline for uspace/app/mkfat/mkfat.c
- Timestamp:
- 2010-11-26T20:08:10Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 45df59a
- Parents:
- fb150d78 (diff), ffdd2b9 (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
-
uspace/app/mkfat/mkfat.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkfat/mkfat.c
rfb150d78 r46c20c8 85 85 struct fat_params *par); 86 86 static int fat_blocks_write(struct fat_params const *par, 87 dev _handle_t handle);87 devmap_handle_t handle); 88 88 static void fat_bootsec_create(struct fat_params const *par, struct fat_bs *bs); 89 89 … … 95 95 int rc; 96 96 char *dev_path; 97 dev _handle_t handle;97 devmap_handle_t handle; 98 98 size_t block_size; 99 99 char *endptr; 100 bn_t dev_nblocks;100 aoff64_t dev_nblocks; 101 101 102 102 cfg.total_sectors = 0; … … 160 160 printf(NAME ": Warning, failed to obtain block device size.\n"); 161 161 } else { 162 printf(NAME ": Block device has %" PRIu BN" blocks.\n",162 printf(NAME ": Block device has %" PRIuOFF64 " blocks.\n", 163 163 dev_nblocks); 164 164 cfg.total_sectors = dev_nblocks; … … 234 234 235 235 /** Create file system with the given parameters. */ 236 static int fat_blocks_write(struct fat_params const *par, dev _handle_t handle)237 { 238 bn_t addr;236 static int fat_blocks_write(struct fat_params const *par, devmap_handle_t handle) 237 { 238 aoff64_t addr; 239 239 uint8_t *buffer; 240 240 int i;
Note:
See TracChangeset
for help on using the changeset viewer.
