From 84d442ce51f6d8006caf8107a40602aa1c24129e Mon Sep 17 00:00:00 2001 From: Pedro Martelletto Date: Thu, 21 Aug 2008 01:17:40 +0000 Subject: Fix 'if ();' construction introduced in last commit, okay deraadt@ --- sys/nfs/nfs_vnops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/nfs') diff --git a/sys/nfs/nfs_vnops.c b/sys/nfs/nfs_vnops.c index 9391c5cdc3e..927411890b6 100644 --- a/sys/nfs/nfs_vnops.c +++ b/sys/nfs/nfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_vnops.c,v 1.101 2008/08/09 10:14:02 thib Exp $ */ +/* $OpenBSD: nfs_vnops.c,v 1.102 2008/08/21 01:17:39 pedro Exp $ */ /* $NetBSD: nfs_vnops.c,v 1.62.4.1 1996/07/08 20:26:52 jtc Exp $ */ /* @@ -417,7 +417,7 @@ nfs_open(v) if (vp->v_type == VDIR) np->n_direofoffset = 0; error = nfs_vinvalbuf(vp, V_SAVE, ap->a_cred, ap->a_p); - if (error == EINTR); + if (error == EINTR) return (error); uvm_vnp_uncache(vp); np->n_mtime = vattr.va_mtime.tv_sec; -- cgit v1.2.3