net: replace %p6 with %pI6
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
4b7a4274ca
commit
5b095d9892
@@ -290,7 +290,7 @@ static ssize_t sprintf_ipaddr(char *buf, u8 *ip)
|
||||
/*
|
||||
* IPv6
|
||||
*/
|
||||
str += sprintf(str, "%p6", ip);
|
||||
str += sprintf(str, "%pI6", ip);
|
||||
}
|
||||
str += sprintf(str, "\n");
|
||||
return str - buf;
|
||||
|
Reference in New Issue
Block a user