aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-10-28 19:05:40 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-28 19:05:40 -0400
commitb071195deba14b37ce896c26f20349b46e5f9fd2 (patch)
tree5f32ddc71be0a282765349301ea9173b413cdc39 /net/sunrpc
parent689afa7da106032a3e859ae35494f80dd6eac640 (diff)
net: replace all current users of NIP6_SEQFMT with %#p6
The define in kernel.h can be done away with at a later time. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/xprtsock.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
index 9a288d5eea64..59155aebd3b9 100644
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -365,10 +365,9 @@ static void xs_format_ipv6_peer_addresses(struct rpc_xprt *xprt,
365 xprt->address_strings[RPC_DISPLAY_ALL] = buf; 365 xprt->address_strings[RPC_DISPLAY_ALL] = buf;
366 366
367 buf = kzalloc(36, GFP_KERNEL); 367 buf = kzalloc(36, GFP_KERNEL);
368 if (buf) { 368 if (buf)
369 snprintf(buf, 36, NIP6_SEQFMT, 369 snprintf(buf, 36, "%#p6", &addr->sin6_addr);
370 NIP6(addr->sin6_addr)); 370
371 }
372 xprt->address_strings[RPC_DISPLAY_HEX_ADDR] = buf; 371 xprt->address_strings[RPC_DISPLAY_HEX_ADDR] = buf;
373 372
374 buf = kzalloc(8, GFP_KERNEL); 373 buf = kzalloc(8, GFP_KERNEL);