aboutsummaryrefslogtreecommitdiff
path: root/sys/miscfs/devfs
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-11-21 12:38:21 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-11-21 12:38:21 +0000
commitda654d9070b227da9238a9ca4a3f01b3429b08f0 (patch)
treedce0fefe05804627c6f74dba7f2e06baab5e0272 /sys/miscfs/devfs
parent93abfafb05fd271275032c15ed4ca0c705d69a2a (diff)
Notes
Diffstat (limited to 'sys/miscfs/devfs')
-rw-r--r--sys/miscfs/devfs/devfs_tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/devfs/devfs_tree.c b/sys/miscfs/devfs/devfs_tree.c
index 2b97d6d71067..d47917a4804f 100644
--- a/sys/miscfs/devfs/devfs_tree.c
+++ b/sys/miscfs/devfs/devfs_tree.c
@@ -1250,7 +1250,7 @@ devfs_open_device(char *path, int type)
return (NULL);
#if 0
- if ( VOP_OPEN(vn, FREAD, proc0.p_cred->pc_ucred, &proc0)) {
+ if ( VOP_OPEN(vn, FREAD, proc0.p_ucred, &proc0)) {
vput(vn);
return (NULL);
}
@@ -1268,7 +1268,7 @@ void
devfs_close_device(struct vnode *vn)
{
#if 0
- VOP_CLOSE(vn, 0, proc0.p_cred->pc_ucred, &proc0) ;
+ VOP_CLOSE(vn, 0, proc0.p_ucred, &proc0) ;
#endif
vput(vn);
}