Changeset f0a2720 in mainline for uspace/drv/bus/isa/i8237.c


Ignore:
Timestamp:
2012-08-23T15:22:30Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
db81577
Parents:
aa492fe
Message:

fix formatting arguments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/isa/i8237.c

    raa492fe rf0a2720  
    351351       
    352352        /* 16 bit transfers are a bit special */
    353         ddf_msg(LVL_DEBUG, "Unspoiled address: %p and size: %zu.", pa, size);
     353        ddf_msg(LVL_DEBUG, "Unspoiled address %#" PRIx32 " (size %" PRIu16 ")",
     354            pa, size);
    354355        if (channel > 4) {
    355356                /* Size must be aligned to 16 bits */
     
    367368        const dma_channel_t dma_channel = controller_8237.channels[channel];
    368369       
    369         ddf_msg(LVL_DEBUG, "Setting channel %u, to address %p(%zu), mode %hhx.",
    370             channel, pa, size, mode);
     370        ddf_msg(LVL_DEBUG, "Setting channel %u to address %#" PRIx32 " "
     371            "(size %" PRIu16 "), mode %hhx.", channel, pa, size, mode);
    371372       
    372373        /* Mask DMA request */
Note: See TracChangeset for help on using the changeset viewer.