提交 e0db4a78 编写于 作者: D David S. Miller

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

Noticed by Stephen Hemminger.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 20971a0a
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册