diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-07-12 14:36:34 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-13 16:55:00 +0200 |
commit | 0a5676befb0c590212a53f7627fa5d0d8a84bf34 (patch) | |
tree | ea6812919abaf744be8c7b5b904dc78244cbaa4d /drivers/net/smc911x.c | |
parent | 18c8a28aad49803780bd8d52432ded528e37e701 (diff) | |
download | u-boot-imx-0a5676befb0c590212a53f7627fa5d0d8a84bf34.zip u-boot-imx-0a5676befb0c590212a53f7627fa5d0d8a84bf34.tar.gz u-boot-imx-0a5676befb0c590212a53f7627fa5d0d8a84bf34.tar.bz2 |
Fix some more printf() format issues.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/net/smc911x.c')
-rw-r--r-- | drivers/net/smc911x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index 1484b0b..0fff820 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -597,7 +597,7 @@ int eth_init(bd_t *bd) val = reg_read(BYTE_TEST); if (val != 0x87654321) { - printf(DRIVERNAME ": Invalid chip endian 0x%08x\n", val); + printf(DRIVERNAME ": Invalid chip endian 0x%08lx\n", val); goto err_out; } @@ -606,7 +606,7 @@ int eth_init(bd_t *bd) if (chip_ids[i].id == val) break; } if (!chip_ids[i].id) { - printf(DRIVERNAME ": Unknown chip ID %04x\n", val); + printf(DRIVERNAME ": Unknown chip ID %04lx\n", val); goto err_out; } |