aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip_vs.h
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-10-29 12:52:50 -0700
committerDavid S. Miller <davem@davemloft.net>2008-10-29 12:52:50 -0700
commit5b095d98928fdb9e3b75be20a54b7a6cbf6ca9ad (patch)
treeb6caa0cdbaac016447a790881ad4a6c5dfce6900 /include/net/ip_vs.h
parentnet: replace %#p6 format specifier with %pi6 (diff)
downloadlinux-dev-5b095d98928fdb9e3b75be20a54b7a6cbf6ca9ad.tar.xz
linux-dev-5b095d98928fdb9e3b75be20a54b7a6cbf6ca9ad.zip
net: replace %p6 with %pI6
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip_vs.h')
-rw-r--r--include/net/ip_vs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index 6a6692067092..af48cada561e 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -87,7 +87,7 @@ static inline const char *ip_vs_dbg_addr(int af, char *buf, size_t buf_len,
int len;
#ifdef CONFIG_IP_VS_IPV6
if (af == AF_INET6)
- len = snprintf(&buf[*idx], buf_len - *idx, "[%p6]",
+ len = snprintf(&buf[*idx], buf_len - *idx, "[%pI6]",
&addr->in6) + 1;
else
#endif