summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-08-26 08:07:11 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-08-26 08:07:11 +0000
commit23f45398942149118aff3e5f9693c416e5e0db19 (patch)
treeff5a8f4c42e8c42c055a8088ade6c730acd6923b
parent01b2e2fb617a6dafa5c8fd4ee67f47a2fd233856 (diff)
change a & to &&. From dima@best.net
-rw-r--r--sys/kern/vfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c
index 8b4f0c88814..a1c87adfb90 100644
--- a/sys/kern/vfs_vnops.c
+++ b/sys/kern/vfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_vnops.c,v 1.21 1999/07/18 01:20:22 deraadt Exp $ */
+/* $OpenBSD: vfs_vnops.c,v 1.22 1999/08/26 08:07:10 art Exp $ */
/* $NetBSD: vfs_vnops.c,v 1.20 1996/02/04 02:18:41 christos Exp $ */
/*
@@ -114,7 +114,7 @@ vn_open(ndp, fmode, cmode)
error = EEXIST;
goto bad;
}
- if ((ndp->ni_vp->v_type == VLNK) &
+ if ((ndp->ni_vp->v_type == VLNK) &&
((fmode & FNOSYMLINK) != 0)) {
error = EFTYPE;
goto bad;