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:
David S. Miller 2008-11-02 23:57:06 -08:00
parent 20971a0afb
commit e0db4a786b
1 changed files with 1 additions and 1 deletions

View File

@ -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;