diff options
author | David S. Miller <davem@davemloft.net> | 2008-11-02 23:57:06 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-02 23:57:06 -0800 |
commit | e0db4a786bbd73145b4feb45c75d49b6e60fe72c (patch) | |
tree | 0362cd69006902a79b077864164aa892016c1479 /net | |
parent | 20971a0afb8bc0eeb6865ceadd435e4a2dba0fd7 (diff) | |
download | blackbird-op-linux-e0db4a786bbd73145b4feb45c75d49b6e60fe72c.tar.gz blackbird-op-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 'net')
-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; |