projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a648404
)
[SUNRPC]: Fix {s,}size_t printf format strings in xprt.c
author
David S. Miller
<davem@davemloft.net>
Sat, 25 Jun 2005 02:57:07 +0000
(19:57 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 25 Jun 2005 02:57:07 +0000
(19:57 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sunrpc/xprt.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/xprt.c
b/net/sunrpc/xprt.c
index eca92405948fbfd69222f5494c40801efe99a78b..269f217918a3c736087a4577aa5389ed38c5410b 100644
(file)
--- a/
net/sunrpc/xprt.c
+++ b/
net/sunrpc/xprt.c
@@
-970,7
+970,7
@@
tcp_read_request(struct rpc_xprt *xprt, skb_reader_t *desc)
goto out;
}
- dprintk("RPC: XID %08x read %
u
bytes\n",
+ dprintk("RPC: XID %08x read %
Zd
bytes\n",
ntohl(xprt->tcp_xid), r);
dprintk("RPC: xprt = %p, tcp_copied = %lu, tcp_offset = %u, tcp_reclen = %u\n",
xprt, xprt->tcp_copied, xprt->tcp_offset, xprt->tcp_reclen);
@@
-1006,7
+1006,7
@@
tcp_read_discard(struct rpc_xprt *xprt, skb_reader_t *desc)
desc->count -= len;
desc->offset += len;
xprt->tcp_offset += len;
- dprintk("RPC: discarded %u bytes\n", len);
+ dprintk("RPC: discarded %
Z
u bytes\n", len);
tcp_check_recm(xprt);
}