summaryrefslogtreecommitdiffstats
path: root/net/ipv6/anycast.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-10-28 16:05:40 -0700
committerDavid S. Miller <davem@davemloft.net>2008-10-28 16:05:40 -0700
commitb071195deba14b37ce896c26f20349b46e5f9fd2 (patch)
tree5f32ddc71be0a282765349301ea9173b413cdc39 /net/ipv6/anycast.c
parent689afa7da106032a3e859ae35494f80dd6eac640 (diff)
downloadop-kernel-dev-b071195deba14b37ce896c26f20349b46e5f9fd2.zip
op-kernel-dev-b071195deba14b37ce896c26f20349b46e5f9fd2.tar.gz
net: replace all current users of NIP6_SEQFMT with %#p6
The define in kernel.h can be done away with at a later time. 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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/ipv6/anycast.c b/net/ipv6/anycast.c
index 8336cd8..ae494e3 100644
--- a/net/ipv6/anycast.c
+++ b/net/ipv6/anycast.c
@@ -512,11 +512,9 @@ 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 " NIP6_SEQFMT " %5d\n",
+ seq_printf(seq, "%-4d %-15s %#p6 %5d\n",
state->dev->ifindex, state->dev->name,
- NIP6(im->aca_addr),
- im->aca_users);
+ &im->aca_addr, im->aca_users);
return 0;
}
OpenPOWER on IntegriCloud