mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
Bah, I forgot to commit this part of the nfssvc() cleanup. Sorry folks.
This commit is contained in:
parent
c0e3f1222f
commit
b8815b31fb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100656
@ -81,8 +81,6 @@ int debug = 1;
|
||||
int debug = 0;
|
||||
#endif
|
||||
|
||||
struct nfsd_srvargs nsd;
|
||||
|
||||
#define MAXNFSDCNT 20
|
||||
#define DEFNFSDCNT 4
|
||||
pid_t children[MAXNFSDCNT]; /* PIDs of children */
|
||||
@ -833,8 +831,7 @@ start_server(int master)
|
||||
int status;
|
||||
|
||||
status = 0;
|
||||
nsd.nsd_nfsd = NULL;
|
||||
if (nfssvc(NFSSVC_NFSD, &nsd) < 0) {
|
||||
if (nfssvc(NFSSVC_NFSD, NULL) < 0) {
|
||||
syslog(LOG_ERR, "nfssvc: %m");
|
||||
status = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user