diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-13 23:07:35 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-13 23:07:35 +0200 |
commit | 25dbe98abb686d8210e1731fba85ced7d3ce874c (patch) | |
tree | 88737445b98062cf02338ab011f5a5efc28ea3bf /net | |
parent | d5996dd555edf52721b7691a4c59de016251ed39 (diff) | |
download | u-boot-imx-25dbe98abb686d8210e1731fba85ced7d3ce874c.zip u-boot-imx-25dbe98abb686d8210e1731fba85ced7d3ce874c.tar.gz u-boot-imx-25dbe98abb686d8210e1731fba85ced7d3ce874c.tar.bz2 |
Fix some more printf() format issues.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'net')
-rw-r--r-- | net/eth.c | 2 | ||||
-rw-r--r-- | net/net.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -627,7 +627,7 @@ int eth_initialize(bd_t *bis) #if defined(CONFIG_MCF52x2) mcf52x2_miiphy_initialize(bis); #endif -#if defined(CONFIG_NETARM) +#if defined(CONFIG_DRIVER_NS7520_ETHERNET) ns7520_miiphy_initialize(bis); #endif #if defined(CONFIG_DRIVER_TI_EMAC) @@ -1390,7 +1390,7 @@ NetReceive(volatile uchar * inpkt, int len) puts ("Got IP\n"); #endif if (len < IP_HDR_SIZE) { - debug ("len bad %d < %ld\n", len, IP_HDR_SIZE); + debug ("len bad %d < %lu\n", len, (ulong)IP_HDR_SIZE); return; } if (len < ntohs(ip->ip_len)) { |