diff options
author | peter <peter@FreeBSD.org> | 1997-03-12 08:29:44 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-03-12 08:29:44 +0000 |
commit | c81bf1e8afeb11c70b76cfecf2ec5db4532490c0 (patch) | |
tree | c9848d54ad27116b624cc06d5796b511ed572faf /usr.sbin/amd/config/os-bsd44.h | |
parent | 9694f2119fe8602bef0e4989a8217816fcc8a8dc (diff) | |
download | FreeBSD-src-c81bf1e8afeb11c70b76cfecf2ec5db4532490c0.zip FreeBSD-src-c81bf1e8afeb11c70b76cfecf2ec5db4532490c0.tar.gz |
Make amd actually work instead of just compiling. The new Lite2 code
was not setting the version number in the nfs_args data to mount(2), so it
was returning EFAULT. Perhaps the nfs_args version number was something
we added at some point?
Diffstat (limited to 'usr.sbin/amd/config/os-bsd44.h')
-rw-r--r-- | usr.sbin/amd/config/os-bsd44.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/amd/config/os-bsd44.h b/usr.sbin/amd/config/os-bsd44.h index 0701e9e..2d610b5 100644 --- a/usr.sbin/amd/config/os-bsd44.h +++ b/usr.sbin/amd/config/os-bsd44.h @@ -37,7 +37,7 @@ * * @(#)os-bsd44.h 8.2 (Berkeley) 5/10/95 * - * $Id: os-bsd44.h,v 5.2.2.1 1992/02/09 15:10:11 jsp beta $ + * $Id: os-bsd44.h,v 1.8 1997/03/11 15:51:36 peter Exp $ * * 4.4 BSD definitions for Amd (automounter) */ @@ -65,9 +65,10 @@ * This is the implementation release number, not * the protocol revision number. */ -#define NFS_44 +#define NFS_4 #define HAS_TCP_NFS #define NFSv3 +#define M_NEWTYPE 0 /* * Does this OS have NDBM support? @@ -108,6 +109,7 @@ #undef NFS_SA_DREF #if BSD >= 199506 #define NFS_SA_DREF(dst, src) { \ + (dst).version = NFS_ARGSVERSION; \ (dst).addr = (struct sockaddr *) (src); \ (dst).addrlen = sizeof(*src); \ (dst).sotype = SOCK_DGRAM; \ |