svn commit: r309501 - in stable/10: lib/libc/rpc sys/rpc

Ngie Cooper ngie at FreeBSD.org
Sat Dec 3 18:53:04 UTC 2016


Author: ngie
Date: Sat Dec  3 18:53:03 2016
New Revision: 309501
URL: https://svnweb.freebsd.org/changeset/base/309501

Log:
  MFC r301734:
  r301734 (by kevlo):
  
  Fix the rpcb_getaddr() definition to match its declaration.

Modified:
  stable/10/lib/libc/rpc/rpcb_clnt.c
  stable/10/sys/rpc/rpcb_clnt.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libc/rpc/rpcb_clnt.c
==============================================================================
--- stable/10/lib/libc/rpc/rpcb_clnt.c	Sat Dec  3 18:48:39 2016	(r309500)
+++ stable/10/lib/libc/rpc/rpcb_clnt.c	Sat Dec  3 18:53:03 2016	(r309501)
@@ -1010,7 +1010,7 @@ done:
  *
  * Assuming that the address is all properly allocated
  */
-int
+bool_t
 rpcb_getaddr(rpcprog_t program, rpcvers_t version, const struct netconfig *nconf,
     struct netbuf *address, const char *host)
 {

Modified: stable/10/sys/rpc/rpcb_clnt.c
==============================================================================
--- stable/10/sys/rpc/rpcb_clnt.c	Sat Dec  3 18:48:39 2016	(r309500)
+++ stable/10/sys/rpc/rpcb_clnt.c	Sat Dec  3 18:53:03 2016	(r309501)
@@ -1051,7 +1051,7 @@ done:
  *
  * Assuming that the address is all properly allocated
  */
-int
+bool_t
 rpcb_getaddr(program, version, nconf, address, host)
 	rpcprog_t program;
 	rpcvers_t version;


More information about the svn-src-stable mailing list