Don't pass NULL as an integer.

Obtained from:  NetBSD
This commit is contained in:
Martin Blapp 2003-10-29 09:31:41 +00:00
parent 545fbf37df
commit 11362b0945
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121657

View File

@ -516,7 +516,7 @@ init_transport(struct netconfig *nconf)
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;