diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-10-29 00:10:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-29 07:02:32 +0100 |
commit | fdb46ee752ed05c94bac71fe3decdb5175ec6e1f (patch) | |
tree | 903aa4ba2c7afc996e9ddd3304e64770db830f7d /net/sunrpc/clnt.c | |
parent | net: replace uses of NIP6_FMT with %p6 (diff) | |
download | linux-fdb46ee752ed05c94bac71fe3decdb5175ec6e1f.tar.xz linux-fdb46ee752ed05c94bac71fe3decdb5175ec6e1f.zip |
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/clnt.c')
-rw-r--r-- | net/sunrpc/clnt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 4895c341e46d..26f61fd11eab 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -278,8 +278,8 @@ struct rpc_clnt *rpc_create(struct rpc_create_args *args) case AF_INET6: { struct sockaddr_in6 *sin = (struct sockaddr_in6 *)args->address; - snprintf(servername, sizeof(servername), NIP6_FMT, - NIP6(sin->sin6_addr)); + snprintf(servername, sizeof(servername), "%p6", + &sin->sin6_addr); break; } default: |