summaryrefslogtreecommitdiffstats
path: root/sys/fs/procfs/procfs_mem.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-11-21 12:38:21 +0000
committerphk <phk@FreeBSD.org>1999-11-21 12:38:21 +0000
commitd19d6e6b458e551bcea54f2b5ed1015dc467182e (patch)
treedce0fefe05804627c6f74dba7f2e06baab5e0272 /sys/fs/procfs/procfs_mem.c
parentd655bdb1cd68118a4aef6af9143d8ab360890bc8 (diff)
downloadFreeBSD-src-d19d6e6b458e551bcea54f2b5ed1015dc467182e.zip
FreeBSD-src-d19d6e6b458e551bcea54f2b5ed1015dc467182e.tar.gz
s/p_cred->pc_ucred/p_ucred/g
Diffstat (limited to 'sys/fs/procfs/procfs_mem.c')
-rw-r--r--sys/fs/procfs/procfs_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/procfs/procfs_mem.c b/sys/fs/procfs/procfs_mem.c
index 963fb3a..521bd5b 100644
--- a/sys/fs/procfs/procfs_mem.c
+++ b/sys/fs/procfs/procfs_mem.c
@@ -343,7 +343,7 @@ int procfs_kmemaccess(curp)
int i;
struct ucred *cred;
- cred = curp->p_cred->pc_ucred;
+ cred = curp->p_ucred;
if (suser(curp))
return 1;
OpenPOWER on IntegriCloud