summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-11 01:16:00 +0200
committerWolfgang Denk <wd@denx.de>2008-07-11 01:16:00 +0200
commit9b55a2536919f4de1bb1044e6eb8262c2f53bc96 (patch)
tree56a8a946f45094770f1f4b3e10b2344191c6c40c /net
parent4109df6f75fc00ab7da56d286ba50149a0d16a69 (diff)
Fix some more print() format errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'net')
-rw-r--r--net/net.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/net.c b/net/net.c
index f55c7facf27..2a26bc0dd1d 100644
--- a/net/net.c
+++ b/net/net.c
@@ -1520,7 +1520,8 @@ NetReceive(volatile uchar * inpkt, int len)
xsum = (xsum & 0x0000ffff) + ((xsum >> 16) & 0x0000ffff);
}
if ((xsum != 0x00000000) && (xsum != 0x0000ffff)) {
- printf(" UDP wrong checksum %08x %08x\n", xsum, ntohs(ip->udp_xsum));
+ printf(" UDP wrong checksum %08lx %08x\n",
+ xsum, ntohs(ip->udp_xsum));
return;
}
}