Commit e0db4a786bbd73145b4feb45c75d49b6e60fe72c

Authored by David S. Miller
1 parent 20971a0afb

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

Noticed by Stephen Hemminger.

Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

net/sunrpc/xprtsock.c
... ... @@ -284,7 +284,7 @@
284 284  
285 285 buf = kzalloc(20, GFP_KERNEL);
286 286 if (buf) {
287   - snprintf(buf, 20, "pI4", &addr->sin_addr.s_addr);
  287 + snprintf(buf, 20, "%pI4", &addr->sin_addr.s_addr);
288 288 }
289 289 xprt->address_strings[RPC_DISPLAY_ADDR] = buf;
290 290