diff options
-rw-r--r-- | usr.sbin/rpc.statd/statd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rpc.statd/statd.c b/usr.sbin/rpc.statd/statd.c index f51bea8..b8b4311 100644 --- a/usr.sbin/rpc.statd/statd.c +++ b/usr.sbin/rpc.statd/statd.c @@ -368,7 +368,7 @@ create_service(struct netconfig *nconf) } if (nconf->nc_semantics != NC_TPI_CLTS) - listen(sock, SOMAXCONN); + listen(fd, SOMAXCONN); transp = svc_tli_create(fd, nconf, NULL, RPC_MAXDATASIZE, RPC_MAXDATASIZE); |