mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
freebsd 5
This commit is contained in:
parent
c44f783b4b
commit
f691849bf6
1 changed files with 5 additions and 2 deletions
|
@ -11,7 +11,11 @@
|
|||
#include <rpc/pmap_prot.h>
|
||||
#include <nfs/rpcv2.h>
|
||||
#include <nfs/nfsproto.h>
|
||||
#include <nfs/nfs.h>
|
||||
#if __FreeBSD_version >= 500000
|
||||
# include <nfsclient/nfs.h>
|
||||
#else
|
||||
# include <nfs/nfs.h>
|
||||
#endif
|
||||
#include <libc.h>
|
||||
#include "mountnfs.h"
|
||||
|
||||
|
@ -38,7 +42,6 @@ mountnfs(int proto, struct sockaddr_in *sa,
|
|||
na.retrans = NFS_RETRANS;
|
||||
na.maxgrouplist = NFS_MAXGRPS;
|
||||
na.readahead = 0;
|
||||
na.leaseterm = 0;
|
||||
na.deadthresh = 0;
|
||||
na.hostname = "backup";
|
||||
na.acregmin = 60;
|
||||
|
|
Loading…
Reference in a new issue