diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2008-08-21 01:17:40 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2008-08-21 01:17:40 +0000 |
commit | 84d442ce51f6d8006caf8107a40602aa1c24129e (patch) | |
tree | fb225b3621359b5d47537d9baa0286a041410af4 /sys/nfs | |
parent | 2b355442e8a34fcc60d55421a2dcc9229408dc6b (diff) |
Fix 'if ();' construction introduced in last commit, okay deraadt@
Diffstat (limited to 'sys/nfs')
-rw-r--r-- | sys/nfs/nfs_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |