diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-10-29 15:50:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-29 15:50:24 -0400 |
commit | 4b7a4274ca63dadd9c4f17fc953f3a5d19855c4c (patch) | |
tree | 946d6cef596756a95afe0cea51f5c3c9be4c3353 /net/ipv6/addrconf.c | |
parent | 4aa996066ffc0dba24036c961ee38dfdfbfc061c (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/addrconf.c')
-rw-r--r-- | net/ipv6/addrconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 113c4d93153d..ff7ae05f72e1 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -2986,7 +2986,7 @@ static void if6_seq_stop(struct seq_file *seq, void *v) | |||
2986 | static int if6_seq_show(struct seq_file *seq, void *v) | 2986 | static int if6_seq_show(struct seq_file *seq, void *v) |
2987 | { | 2987 | { |
2988 | struct inet6_ifaddr *ifp = (struct inet6_ifaddr *)v; | 2988 | struct inet6_ifaddr *ifp = (struct inet6_ifaddr *)v; |
2989 | seq_printf(seq, "%#p6 %02x %02x %02x %02x %8s\n", | 2989 | seq_printf(seq, "%pi6 %02x %02x %02x %02x %8s\n", |
2990 | &ifp->addr, | 2990 | &ifp->addr, |
2991 | ifp->idev->dev->ifindex, | 2991 | ifp->idev->dev->ifindex, |
2992 | ifp->prefix_len, | 2992 | ifp->prefix_len, |