summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-11-02 23:57:06 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-02 23:57:06 -0800
commite0db4a786bbd73145b4feb45c75d49b6e60fe72c (patch)
tree0362cd69006902a79b077864164aa892016c1479
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>
-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,
buf = kzalloc(20, GFP_KERNEL);
if (buf) {
- snprintf(buf, 20, "pI4", &addr->sin_addr.s_addr);
+ snprintf(buf, 20, "%pI4", &addr->sin_addr.s_addr);
}
xprt->address_strings[RPC_DISPLAY_ADDR] = buf;