Fork us on GitHub Follow us on Facebook Follow us on Twitter

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


Ignore:
Timestamp:
2010-01-27T21:44:52Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
1ccafee
Parents:
b79d450
Message:

Implement some of C99 inttypes.h header (formatting macros for stdint.h). Use in appropriate places. Also replace use of 0x%lx with %p.

File:
1 edited

Legend:

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

    rb79d450 rfb6f1a5  
    4444#include <devmap.h>
    4545#include <byteorder.h>
     46#include <sys/types.h>
     47#include <inttypes.h>
    4648#include <errno.h>
    4749#include "fat.h"
     
    157159                printf(NAME ": Warning, failed to obtain block device size.\n");
    158160        } else {
    159                 printf(NAME ": Block device has %llu blocks.\n", dev_nblocks);
     161                printf(NAME ": Block device has %" PRIu64 " blocks.\n",
     162                    (uint64_t) dev_nblocks);
    160163                cfg.total_sectors = dev_nblocks;
    161164        }
Note: See TracChangeset for help on using the changeset viewer.