diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-11-21 12:38:21 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-11-21 12:38:21 +0000 |
| commit | da654d9070b227da9238a9ca4a3f01b3429b08f0 (patch) | |
| tree | dce0fefe05804627c6f74dba7f2e06baab5e0272 /sys/miscfs/procfs/procfs_mem.c | |
| parent | 93abfafb05fd271275032c15ed4ca0c705d69a2a (diff) | |
Notes
Diffstat (limited to 'sys/miscfs/procfs/procfs_mem.c')
| -rw-r--r-- | sys/miscfs/procfs/procfs_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/miscfs/procfs/procfs_mem.c b/sys/miscfs/procfs/procfs_mem.c index 963fb3a22cdf..521bd5bbc551 100644 --- a/sys/miscfs/procfs/procfs_mem.c +++ b/sys/miscfs/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; |
