From: pedro Date: Thu, 21 Aug 2008 01:17:39 +0000 (+0000) Subject: Fix 'if ();' construction introduced in last commit, okay deraadt@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=22efd19b034d9aaed921c378bb278d56de0dd1df;p=openbsd Fix 'if ();' construction introduced in last commit, okay deraadt@ --- 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;