projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20971a0
)
sunrpc: Fix build warning due to typo in %pI4 format changes.
author
David S. Miller
<davem@davemloft.net>
Mon, 3 Nov 2008 07:57:06 +0000
(23:57 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 3 Nov 2008 07:57:06 +0000
(23:57 -0800)
Noticed by Stephen Hemminger.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sunrpc/xprtsock.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/xprtsock.c
b/net/sunrpc/xprtsock.c
index c14d3fd8f3282a6ee0e3dbd3c8e6162c7979349c..5cbb404c4cdf89da7a6dd328ec5d7137d2d54dbc 100644
(file)
--- a/
net/sunrpc/xprtsock.c
+++ b/
net/sunrpc/xprtsock.c
@@
-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;