diff options
author | Peter Wemm <peter@FreeBSD.org> | 1998-04-06 19:32:37 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1998-04-06 19:32:37 +0000 |
commit | 100ceca222a193e5d374a3dc9782287785dd9b61 (patch) | |
tree | 2f3aaa7b6b30dcb00be0465997399db826420ace /sys/kern/vfs_vnops.c | |
parent | 514bc6cb564bd06c3d1e13463224a491710a1347 (diff) | |
download | src-test2-100ceca222a193e5d374a3dc9782287785dd9b61.tar.gz src-test2-100ceca222a193e5d374a3dc9782287785dd9b61.zip |
Notes
Diffstat (limited to 'sys/kern/vfs_vnops.c')
-rw-r--r-- | sys/kern/vfs_vnops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c index 7d022aa6f427..f63c720d90d3 100644 --- a/sys/kern/vfs_vnops.c +++ b/sys/kern/vfs_vnops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_vnops.c 8.2 (Berkeley) 1/21/94 - * $Id: vfs_vnops.c,v 1.52 1998/04/06 18:25:21 peter Exp $ + * $Id: vfs_vnops.c,v 1.53 1998/04/06 18:43:28 peter Exp $ */ #include <sys/param.h> @@ -126,10 +126,10 @@ vn_open(ndp, fmode, cmode) vp = ndp->ni_vp; } if (vp->v_type == VLNK) { - error = ELOOP; + error = EMLINK; goto bad; } - if (vp->v_type == VSOCK) + if (vp->v_type == VSOCK) { error = EOPNOTSUPP; goto bad; } |