net: replace %p6 with %pI6

Signed-off-by: Harvey Harrison <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Harvey Harrison 2008-10-29 12:52:50 -07:00 • committed by David S. Miller
commit 5b095d9892
49 changed files with 100 additions and 100 deletions

View file

@ -122,7 +122,7 @@ static void nlm_display_address(const struct sockaddr *sap,
snprintf(buf, len, NIPQUAD_FMT,
NIPQUAD(sin6->sin6_addr.s6_addr32[3]));
else
snprintf(buf, len, "%p6", &sin6->sin6_addr);
snprintf(buf, len, "%pI6", &sin6->sin6_addr);
break;
default:
snprintf(buf, len, "unsupported address family");