diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-10-28 16:10:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-28 23:02:32 -0700 |
commit | fdb46ee752ed05c94bac71fe3decdb5175ec6e1f (patch) | |
tree | 903aa4ba2c7afc996e9ddd3304e64770db830f7d /net/sunrpc/rpcb_clnt.c | |
parent | 0c6ce78abf6e228d44c3840edb8a4ae0c1299825 (diff) |
net, misc: replace uses of NIP6_FMT with %p6
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index 41013dd66ac3..968ec1f66bc3 100644 --- a/net/sunrpc/rpcb_clnt.c +++ b/net/sunrpc/rpcb_clnt.c @@ -305,9 +305,9 @@ 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), NIP6_FMT".%u.%u", - NIP6(address_to_register->sin6_addr), - port >> 8, port & 0xff); + snprintf(buf, sizeof(buf), "%p6.%u.%u", + &address_to_register->sin6_addr, + port >> 8, port & 0xff); map->r_addr = buf; dprintk("RPC: %sregistering [%u, %u, %s, '%s'] with " |