aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/anycast.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-10-29 15:50:24 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-29 15:50:24 -0400
commit4b7a4274ca63dadd9c4f17fc953f3a5d19855c4c (patch)
tree946d6cef596756a95afe0cea51f5c3c9be4c3353 /net/ipv6/anycast.c
parent4aa996066ffc0dba24036c961ee38dfdfbfc061c (diff)
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>
Diffstat (limited to 'net/ipv6/anycast.c')
-rw-r--r--net/ipv6/anycast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/anycast.c b/net/ipv6/anycast.c
index ae494e30e555..1ae58bec1de0 100644
--- a/net/ipv6/anycast.c
+++ b/net/ipv6/anycast.c
@@ -512,7 +512,7 @@ static int ac6_seq_show(struct seq_file *seq, void *v)
512 struct ifacaddr6 *im = (struct ifacaddr6 *)v; 512 struct ifacaddr6 *im = (struct ifacaddr6 *)v;
513 struct ac6_iter_state *state = ac6_seq_private(seq); 513 struct ac6_iter_state *state = ac6_seq_private(seq);
514 514
515 seq_printf(seq, "%-4d %-15s %#p6 %5d\n", 515 seq_printf(seq, "%-4d %-15s %pi6 %5d\n",
516 state->dev->ifindex, state->dev->name, 516 state->dev->ifindex, state->dev->name,
517 &im->aca_addr, im->aca_users); 517 &im->aca_addr, im->aca_users);
518 return 0; 518 return 0;