aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2005-06-24 22:57:07 -0400
committerDavid S. Miller <davem@davemloft.net>2005-06-24 22:57:07 -0400
commitc54d7e03c3a21b38c587f671704c5a12aa3987fc (patch)
treec0d1470cd1c92842530020a952f754161f69ad61
parenta6484045fdd4154f8c8ee8c1dda4e32854c047e0 (diff)
[SUNRPC]: Fix {s,}size_t printf format strings in xprt.c
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/sunrpc/xprt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c
index eca92405948f..269f217918a3 100644
--- 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)
970 goto out; 970 goto out;
971 } 971 }
972 972
973 dprintk("RPC: XID %08x read %u bytes\n", 973 dprintk("RPC: XID %08x read %Zd bytes\n",
974 ntohl(xprt->tcp_xid), r); 974 ntohl(xprt->tcp_xid), r);
975 dprintk("RPC: xprt = %p, tcp_copied = %lu, tcp_offset = %u, tcp_reclen = %u\n", 975 dprintk("RPC: xprt = %p, tcp_copied = %lu, tcp_offset = %u, tcp_reclen = %u\n",
976 xprt, xprt->tcp_copied, xprt->tcp_offset, xprt->tcp_reclen); 976 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)
1006 desc->count -= len; 1006 desc->count -= len;
1007 desc->offset += len; 1007 desc->offset += len;
1008 xprt->tcp_offset += len; 1008 xprt->tcp_offset += len;
1009 dprintk("RPC: discarded %u bytes\n", len); 1009 dprintk("RPC: discarded %Zu bytes\n", len);
1010 tcp_check_recm(xprt); 1010 tcp_check_recm(xprt);
1011} 1011}
1012 1012