#ifdef a diagnostic printf
Obtained from: NetBSD
This commit is contained in:
parent
e9156323b8
commit
a710a27b67
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36521
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)nfs_vnops.c 8.16 (Berkeley) 5/27/95
|
||||
* $Id: nfs_vnops.c,v 1.92 1998/05/31 17:27:55 peter Exp $
|
||||
* $Id: nfs_vnops.c,v 1.93 1998/05/31 17:48:05 peter Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -399,7 +399,9 @@ nfs_open(ap)
|
||||
int error;
|
||||
|
||||
if (vp->v_type != VREG && vp->v_type != VDIR && vp->v_type != VLNK) {
|
||||
#ifdef DIAGNOSTIC
|
||||
printf("open eacces vtyp=%d\n",vp->v_type);
|
||||
#endif
|
||||
return (EACCES);
|
||||
}
|
||||
/*
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)nfs_vnops.c 8.16 (Berkeley) 5/27/95
|
||||
* $Id: nfs_vnops.c,v 1.92 1998/05/31 17:27:55 peter Exp $
|
||||
* $Id: nfs_vnops.c,v 1.93 1998/05/31 17:48:05 peter Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -399,7 +399,9 @@ nfs_open(ap)
|
||||
int error;
|
||||
|
||||
if (vp->v_type != VREG && vp->v_type != VDIR && vp->v_type != VLNK) {
|
||||
#ifdef DIAGNOSTIC
|
||||
printf("open eacces vtyp=%d\n",vp->v_type);
|
||||
#endif
|
||||
return (EACCES);
|
||||
}
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user