Commit e0db4a78 authored by David S. Miller's avatar David S. Miller

sunrpc: Fix build warning due to typo in %pI4 format changes.

Noticed by Stephen Hemminger.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 20971a0a
...@@ -284,7 +284,7 @@ static void xs_format_ipv4_peer_addresses(struct rpc_xprt *xprt, ...@@ -284,7 +284,7 @@ static void xs_format_ipv4_peer_addresses(struct rpc_xprt *xprt,
buf = kzalloc(20, GFP_KERNEL); buf = kzalloc(20, GFP_KERNEL);
if (buf) { 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; xprt->address_strings[RPC_DISPLAY_ADDR] = buf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment