net: replace %#p6 format specifier with %pi6
gcc warns when using the # modifier with the %p format specifier, so we can't use this to omit the colons when needed, introduces %pi6 instead. 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
4aa996066f
commit
4b7a4274ca
@@ -512,7 +512,7 @@ static int ac6_seq_show(struct seq_file *seq, void *v)
|
||||
struct ifacaddr6 *im = (struct ifacaddr6 *)v;
|
||||
struct ac6_iter_state *state = ac6_seq_private(seq);
|
||||
|
||||
seq_printf(seq, "%-4d %-15s %#p6 %5d\n",
|
||||
seq_printf(seq, "%-4d %-15s %pi6 %5d\n",
|
||||
state->dev->ifindex, state->dev->name,
|
||||
&im->aca_addr, im->aca_users);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user