Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/fs/ptyfs/ptyfs_vnops.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/fs/ptyfs/ptyfs_vnops.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.34 retrieving revision 1.35 diff -u -p -r1.34 -r1.35 --- src/sys/fs/ptyfs/ptyfs_vnops.c 2010/06/24 13:03:10 1.34 +++ src/sys/fs/ptyfs/ptyfs_vnops.c 2011/06/12 03:35:53 1.35 @@ -1,4 +1,4 @@ -/* $NetBSD: ptyfs_vnops.c,v 1.34 2010/06/24 13:03:10 hannken Exp $ */ +/* $NetBSD: ptyfs_vnops.c,v 1.35 2011/06/12 03:35:53 rmind Exp $ */ /* * Copyright (c) 1993, 1995 @@ -76,7 +76,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ptyfs_vnops.c,v 1.34 2010/06/24 13:03:10 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ptyfs_vnops.c,v 1.35 2011/06/12 03:35:53 rmind Exp $"); #include #include @@ -756,10 +756,10 @@ ptyfs_close(void *v) struct vnode *vp = ap->a_vp; struct ptyfsnode *ptyfs = VTOPTYFS(vp); - mutex_enter(&vp->v_interlock); + mutex_enter(vp->v_interlock); if (vp->v_usecount > 1) PTYFS_ITIMES(ptyfs, NULL, NULL, NULL); - mutex_exit(&vp->v_interlock); + mutex_exit(vp->v_interlock); switch (ptyfs->ptyfs_type) { case PTYFSpts: