Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/rpcbind Don't pass NULL as an integer.



details:   https://anonhg.NetBSD.org/src/rev/7fde5c495766
branches:  trunk
changeset: 553772:7fde5c495766
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Tue Oct 21 02:51:37 2003 +0000

description:
Don't pass NULL as an integer.

diffstat:

 usr.sbin/rpcbind/rpcbind.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 54f0903941d4 -r 7fde5c495766 usr.sbin/rpcbind/rpcbind.c
--- a/usr.sbin/rpcbind/rpcbind.c        Tue Oct 21 02:50:41 2003 +0000
+++ b/usr.sbin/rpcbind/rpcbind.c        Tue Oct 21 02:51:37 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpcbind.c,v 1.4 2003/07/13 12:16:05 itojun Exp $       */
+/*     $NetBSD: rpcbind.c,v 1.5 2003/10/21 02:51:37 fvdl Exp $ */
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -340,7 +340,7 @@
                struct pmaplist *pml;
 
                if (!svc_register(my_xprt, PMAPPROG, PMAPVERS,
-                       pmap_service, NULL)) {
+                       pmap_service, 0)) {
                        syslog(LOG_ERR, "could not register on %s",
                                        nconf->nc_netid);
                        goto error;



Home | Main Index | Thread Index | Old Index