diff options
Diffstat (limited to 'net/sunrpc/rpcb_clnt.c')
-rw-r--r-- | net/sunrpc/rpcb_clnt.c | 2 |
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, | |||
305 | snprintf(buf, sizeof(buf), "::.%u.%u", | 305 | snprintf(buf, sizeof(buf), "::.%u.%u", |
306 | port >> 8, port & 0xff); | 306 | port >> 8, port & 0xff); |
307 | else | 307 | else |
308 | snprintf(buf, sizeof(buf), "%p6.%u.%u", | 308 | snprintf(buf, sizeof(buf), "%pI6.%u.%u", |
309 | &address_to_register->sin6_addr, | 309 | &address_to_register->sin6_addr, |
310 | port >> 8, port & 0xff); | 310 | port >> 8, port & 0xff); |
311 | map->r_addr = buf; | 311 | map->r_addr = buf; |