summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-05-24 09:22:06 +0000
committerderaadt <deraadt@openbsd.org>1996-05-24 09:22:06 +0000
commit889c96cbb42e60d8507f963c3ff463e230b312b5 (patch)
treef92016f209a356f555af8dec48389c41abf40678
parentfix NOMAN another way, ie. sync (diff)
downloadwireguard-openbsd-889c96cbb42e60d8507f963c3ff463e230b312b5.tar.xz
wireguard-openbsd-889c96cbb42e60d8507f963c3ff463e230b312b5.zip
netbsd pr#2395
-rw-r--r--usr.sbin/amd/amd/nfs_ops.c8
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