Changeset 276e44a in mainline


Ignore:
Timestamp:
2012-08-23T22:02:48Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
16e9d4df
Parents:
5572ad1
Message:

rtc: fix format string error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/time/cmos-rtc/cmos-rtc.c

    r5572ad1 r276e44a  
    165165            (void **) &rtc->port)) {
    166166
    167                 ddf_msg(LVL_ERROR, "Cannot map the port %#" PRIx32
    168                     " for device %s", rtc->io_addr, ddf_dev_get_name(rtc->dev));
     167                ddf_msg(LVL_ERROR, "Cannot map the port %lx"
     168                    " for device %s", (intptr_t)rtc->io_addr,
     169                    ddf_dev_get_name(rtc->dev));
    169170                return false;
    170171        }
     
    228229                ioport = true;
    229230                ddf_msg(LVL_NOTE, "Device %s was assigned I/O address "
    230                     "0x%x", ddf_dev_get_name(rtc->dev), rtc->io_addr);
     231                    "0x%lx", ddf_dev_get_name(rtc->dev),
     232                    (intptr_t) rtc->io_addr);
    231233                rc = EOK;
    232234                break;
Note: See TracChangeset for help on using the changeset viewer.