]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sunrpc/rpcb_clnt.c
net: replace %p6 with %pI6
[linux-2.6-omap-h63xx.git] / net / sunrpc / rpcb_clnt.c
index 968ec1f66bc37985d314b793d2672a1d82a04274..4c8adadc214df5ca5c0136eb17360826d8aff8d9 100644 (file)
@@ -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;