diff options
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r-- | net/sunrpc/clnt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index a3c00da9ce21..e775ca793249 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -679,7 +679,8 @@ EXPORT_SYMBOL_GPL(rpc_peeraddr); | |||
679 | * @format: address format | 679 | * @format: address format |
680 | * | 680 | * |
681 | */ | 681 | */ |
682 | char *rpc_peeraddr2str(struct rpc_clnt *clnt, enum rpc_display_format_t format) | 682 | const char *rpc_peeraddr2str(struct rpc_clnt *clnt, |
683 | enum rpc_display_format_t format) | ||
683 | { | 684 | { |
684 | struct rpc_xprt *xprt = clnt->cl_xprt; | 685 | struct rpc_xprt *xprt = clnt->cl_xprt; |
685 | 686 | ||