aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtsock.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-11-03 02:57:06 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-03 02:57:06 -0500
commite0db4a786bbd73145b4feb45c75d49b6e60fe72c (patch)
tree0362cd69006902a79b077864164aa892016c1479 /net/sunrpc/xprtsock.c
parent20971a0afb8bc0eeb6865ceadd435e4a2dba0fd7 (diff)
sunrpc: Fix build warning due to typo in %pI4 format changes.
Noticed by Stephen Hemminger. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
-rw-r--r--net/sunrpc/xprtsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
index c14d3fd8f328..5cbb404c4cdf 100644
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -284,7 +284,7 @@ static void xs_format_ipv4_peer_addresses(struct rpc_xprt *xprt,
284 284
285 buf = kzalloc(20, GFP_KERNEL); 285 buf = kzalloc(20, GFP_KERNEL);
286 if (buf) { 286 if (buf) {
287 snprintf(buf, 20, "pI4", &addr->sin_addr.s_addr); 287 snprintf(buf, 20, "%pI4", &addr->sin_addr.s_addr);
288 } 288 }
289 xprt->address_strings[RPC_DISPLAY_ADDR] = buf; 289 xprt->address_strings[RPC_DISPLAY_ADDR] = buf;
290 290