diff options
Diffstat (limited to 'net/sunrpc/xprtsock.c')
-rw-r--r-- | net/sunrpc/xprtsock.c | 2 |
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 | ||