diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-24 09:22:07 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-24 09:22:07 +0000 |
commit | 44b59e3b7127465d47e4d789c6c493e1df1397fd (patch) | |
tree | b1433ca2a1e0d4610713341d42fa0bd5d3680752 /usr.sbin/amd | |
parent | b26e12972545b06d15587e2e177c32a74621aa7d (diff) |
netbsd pr#2395
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r-- | usr.sbin/amd/amd/nfs_ops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/amd/amd/nfs_ops.c b/usr.sbin/amd/amd/nfs_ops.c index 6510464b4ff..4cc50e4bc93 100644 --- a/usr.sbin/amd/amd/nfs_ops.c +++ b/usr.sbin/amd/amd/nfs_ops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_ops.c,v 1.4 1996/04/03 14:13:06 dm Exp $ */ +/* $OpenBSD: nfs_ops.c,v 1.5 1996/05/24 09:22:06 deraadt Exp $ */ /*- * Copyright (c) 1990 Jan-Simon Pendry @@ -40,7 +40,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)nfs_ops.c 8.1 (Berkeley) 6/6/93";*/ -static char *rcsid = "$OpenBSD: nfs_ops.c,v 1.4 1996/04/03 14:13:06 dm Exp $"; +static char *rcsid = "$OpenBSD: nfs_ops.c,v 1.5 1996/05/24 09:22:06 deraadt Exp $"; #endif /* not lint */ #include "am.h" @@ -164,10 +164,10 @@ voidp idv; int done; { fh_cache *fp = find_nfs_fhandle_cache(idv, done); + if (fp) { #if NFS_PROTOCOL_VERSION >= 3 - fp->fh_handle.fhs_vers = MOUNTVERS; + fp->fh_handle.fhs_vers = MOUNTVERS; #endif - if (fp) { fp->fh_error = pickup_rpc_reply(pkt, len, (voidp) &fp->fh_handle, xdr_fhstatus); if (!fp->fh_error) { #ifdef DEBUG |