diff options
author | David S. Miller <davem@davemloft.net> | 2008-11-03 08:57:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-03 08:57:06 +0100 |
commit | e0db4a786bbd73145b4feb45c75d49b6e60fe72c (patch) | |
tree | 0362cd69006902a79b077864164aa892016c1479 /net/sunrpc/xprtsock.c | |
parent | IPVS: Add IPv6 support to SH and DH schedulers (diff) | |
download | linux-e0db4a786bbd73145b4feb45c75d49b6e60fe72c.tar.xz linux-e0db4a786bbd73145b4feb45c75d49b6e60fe72c.zip |
sunrpc: Fix build warning due to typo in %pI4 format changes.
Noticed by Stephen Hemminger.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | net/sunrpc/xprtsock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index c14d3fd8f328..5cbb404c4cdf 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c @@ -284,7 +284,7 @@ static void xs_format_ipv4_peer_addresses(struct rpc_xprt *xprt, buf = kzalloc(20, GFP_KERNEL); if (buf) { - snprintf(buf, 20, "pI4", &addr->sin_addr.s_addr); + snprintf(buf, 20, "%pI4", &addr->sin_addr.s_addr); } xprt->address_strings[RPC_DISPLAY_ADDR] = buf; |