summaryrefslogtreecommitdiff
path: root/net/net.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-13 23:07:35 +0200
committerWolfgang Denk <wd@denx.de>2008-07-13 23:07:35 +0200
commit25dbe98abb686d8210e1731fba85ced7d3ce874c (patch)
tree88737445b98062cf02338ab011f5a5efc28ea3bf /net/net.c
parentd5996dd555edf52721b7691a4c59de016251ed39 (diff)
Fix some more printf() format issues.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'net/net.c')
-rw-r--r--net/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/net.c b/net/net.c
index c96f566fab1..313d5d8dab3 100644
--- a/net/net.c
+++ b/net/net.c
@@ -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)) {