X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=utils%2Fnfsd%2Fnfsd.c;h=ac264da28c6041cacf8ad0c2ab2c98c4e66782a7;hb=b750909f50fb184cb82344d40a150f0d2760ef21;hp=c97c81f83f919d414734739904c44470825ae067;hpb=41eb279c2f46ca020bc3b8d17811555f74b99d2e;p=nfs-utils.git diff --git a/utils/nfsd/nfsd.c b/utils/nfsd/nfsd.c index c97c81f..ac264da 100644 --- a/utils/nfsd/nfsd.c +++ b/utils/nfsd/nfsd.c @@ -41,6 +41,7 @@ static struct option longopts[] = }; unsigned int protobits = NFSCTL_ALLBITS; unsigned int versbits = NFSCTL_ALLBITS; +int minorvers4; /* nfsv4 minor version */ char *haddr = NULL; int @@ -158,7 +159,7 @@ main(int argc, char **argv) closeall(3); openlog("nfsd", LOG_PID, LOG_DAEMON); - if ((error = nfssvc(port, count, versbits, protobits, haddr)) < 0) { + if ((error = nfssvc(port, count, versbits, minorvers4, protobits, haddr)) < 0) { int e = errno; syslog(LOG_ERR, "nfssvc: %s", strerror(e)); closelog();