Changeset ec534b4 in mainline


Ignore:
Timestamp:
2011-02-11T08:28:39Z (13 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cfa73751
Parents:
32d3ebf
Message:

Fix build on 64 bit systems

File:
1 edited

Legend:

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

    r32d3ebf rec534b4  
    145145        }
    146146
    147         printf("Device %s has %" PRIuOFF64 " blocks, %u bytes each\n", dev_path, dev_nblocks, block_size);
     147        printf("Device %s has %" PRIuOFF64 " blocks, %" PRIuOFF64 " bytes each\n", dev_path, dev_nblocks, (aoff64_t) block_size);
    148148
    149149        data = malloc(block_size);
    150150        if (data == NULL) {
    151                 printf(NAME ": Error allocating data buffer of %u bytes", block_size);
     151                printf(NAME ": Error allocating data buffer of %" PRIuOFF64 " bytes", (aoff64_t) block_size);
    152152                block_fini(handle);
    153153                return 3;
Note: See TracChangeset for help on using the changeset viewer.