Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/mkfat/mkfat.c

    red903174 r9245413  
    4444#include <devmap.h>
    4545#include <byteorder.h>
    46 #include <sys/types.h>
    47 #include <sys/typefmt.h>
    48 #include <inttypes.h>
    4946#include <errno.h>
    5047#include "fat.h"
     
    9895        size_t block_size;
    9996        char *endptr;
    100         aoff64_t dev_nblocks;
     97        bn_t dev_nblocks;
    10198
    10299        cfg.total_sectors = 0;
     
    160157                printf(NAME ": Warning, failed to obtain block device size.\n");
    161158        } else {
    162                 printf(NAME ": Block device has %" PRIuOFF64 " blocks.\n",
    163                     dev_nblocks);
     159                printf(NAME ": Block device has %llu blocks.\n", dev_nblocks);
    164160                cfg.total_sectors = dev_nblocks;
    165161        }
     
    236232static int fat_blocks_write(struct fat_params const *par, dev_handle_t handle)
    237233{
    238         aoff64_t addr;
     234        bn_t addr;
    239235        uint8_t *buffer;
    240236        int i;
Note: See TracChangeset for help on using the changeset viewer.