Changeset 1ccafee in mainline for uspace/app/mkfat/mkfat.c


Ignore:
Timestamp:
2010-01-27T22:22:09Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0b9ac3c, a9bbe48d
Parents:
fb6f1a5
Message:

Add type formatting macros for HelenOS system types (sys/typefmt.h) and use in appropriate places.

File:
1 edited

Legend:

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

    rfb6f1a5 r1ccafee  
    4545#include <byteorder.h>
    4646#include <sys/types.h>
     47#include <sys/typefmt.h>
    4748#include <inttypes.h>
    4849#include <errno.h>
     
    159160                printf(NAME ": Warning, failed to obtain block device size.\n");
    160161        } else {
    161                 printf(NAME ": Block device has %" PRIu64 " blocks.\n",
    162                     (uint64_t) dev_nblocks);
     162                printf(NAME ": Block device has %" PRIuBN " blocks.\n",
     163                    dev_nblocks);
    163164                cfg.total_sectors = dev_nblocks;
    164165        }
Note: See TracChangeset for help on using the changeset viewer.