aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtsock.c
diff options
context:
space:
mode:
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 349852238957..3c9aff584579 100644
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -365,7 +365,7 @@ static void xs_format_ipv6_peer_addresses(struct rpc_xprt *xprt,
365 365
366 buf = kzalloc(36, GFP_KERNEL); 366 buf = kzalloc(36, GFP_KERNEL);
367 if (buf) 367 if (buf)
368 snprintf(buf, 36, "%#p6", &addr->sin6_addr); 368 snprintf(buf, 36, "%pi6", &addr->sin6_addr);
369 369
370 xprt->address_strings[RPC_DISPLAY_HEX_ADDR] = buf; 370 xprt->address_strings[RPC_DISPLAY_HEX_ADDR] = buf;
371 371