mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
sunrpc: Fix build warning due to typo in %pI4 format changes.
Noticed by Stephen Hemminger. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
20971a0afb
commit
e0db4a786b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user