Changeset a9bbe48d in mainline for uspace/app/mkfat/mkfat.c


Ignore:
Timestamp:
2010-01-27T22:23:50Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e7aa9f4
Parents:
95e6c4f (diff), 1ccafee (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.
Message:

Merge formatting macros for userspace.

File:
1 edited

Legend:

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

    r95e6c4f ra9bbe48d  
    4444#include <devmap.h>
    4545#include <byteorder.h>
     46#include <sys/types.h>
     47#include <sys/typefmt.h>
     48#include <inttypes.h>
    4649#include <errno.h>
    4750#include "fat.h"
     
    157160                printf(NAME ": Warning, failed to obtain block device size.\n");
    158161        } else {
    159                 printf(NAME ": Block device has %llu blocks.\n", dev_nblocks);
     162                printf(NAME ": Block device has %" PRIuBN " blocks.\n",
     163                    dev_nblocks);
    160164                cfg.total_sectors = dev_nblocks;
    161165        }
Note: See TracChangeset for help on using the changeset viewer.