summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/rpcb_clnt.c
diff options
context:
space:
mode:
authorHarvey Harrison2008-10-29 20:52:50 +0100
committerDavid S. Miller2008-10-29 20:52:50 +0100
commit5b095d98928fdb9e3b75be20a54b7a6cbf6ca9ad (patch)
treeb6caa0cdbaac016447a790881ad4a6c5dfce6900 /net/sunrpc/rpcb_clnt.c
parentnet: replace %#p6 format specifier with %pi6 (diff)
downloadkernel-qcow2-linux-5b095d98928fdb9e3b75be20a54b7a6cbf6ca9ad.tar.gz
kernel-qcow2-linux-5b095d98928fdb9e3b75be20a54b7a6cbf6ca9ad.tar.xz
kernel-qcow2-linux-5b095d98928fdb9e3b75be20a54b7a6cbf6ca9ad.zip
net: replace %p6 with %pI6
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc/rpcb_clnt.c')
-rw-r--r--net/sunrpc/rpcb_clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c
index 968ec1f66bc3..4c8adadc214d 100644
--- a/net/sunrpc/rpcb_clnt.c
+++ b/net/sunrpc/rpcb_clnt.c
@@ -305,7 +305,7 @@ static int rpcb_register_netid6(struct sockaddr_in6 *address_to_register,
snprintf(buf, sizeof(buf), "::.%u.%u",
port >> 8, port & 0xff);
else
- snprintf(buf, sizeof(buf), "%p6.%u.%u",
+ snprintf(buf, sizeof(buf), "%pI6.%u.%u",
&address_to_register->sin6_addr,
port >> 8, port & 0xff);
map->r_addr = buf;