Ignore:
Timestamp:
2010-11-26T01:33:20Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bf61d3a
Parents:
202f57b
Message:
  • correct printf() formatting strings and corresponding arguments
  • minor cstyle changes and other small fixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c

    r202f57b r7e752b2  
    5050#include <sysinfo.h>
    5151#include <errno.h>
     52#include <inttypes.h>
    5253
    5354#include "s3c24xx_ts.h"
     
    136137        ts->last_y = 0;
    137138
    138         printf(NAME ": device at physical address 0x%x, inr %d.\n",
    139             ts->paddr, inr);
     139        printf(NAME ": device at physical address %p, inr %" PRIun ".\n",
     140            (void *) ts->paddr, inr);
    140141
    141142        async_set_interrupt_received(s3c24xx_ts_irq_handler);
Note: See TracChangeset for help on using the changeset viewer.