diff options
author | phk <phk@FreeBSD.org> | 1999-11-21 12:38:21 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-11-21 12:38:21 +0000 |
commit | d19d6e6b458e551bcea54f2b5ed1015dc467182e (patch) | |
tree | dce0fefe05804627c6f74dba7f2e06baab5e0272 /sys/miscfs/devfs/devfs_tree.c | |
parent | d655bdb1cd68118a4aef6af9143d8ab360890bc8 (diff) | |
download | FreeBSD-src-d19d6e6b458e551bcea54f2b5ed1015dc467182e.zip FreeBSD-src-d19d6e6b458e551bcea54f2b5ed1015dc467182e.tar.gz |
s/p_cred->pc_ucred/p_ucred/g
Diffstat (limited to 'sys/miscfs/devfs/devfs_tree.c')
-rw-r--r-- | sys/miscfs/devfs/devfs_tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/devfs/devfs_tree.c b/sys/miscfs/devfs/devfs_tree.c index 2b97d6d..d47917a 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); } |