diff options
author | Julian Elischer <julian@FreeBSD.org> | 2001-09-12 08:38:13 +0000 |
---|---|---|
committer | Julian Elischer <julian@FreeBSD.org> | 2001-09-12 08:38:13 +0000 |
commit | b40ce4165d5eb3a5de1515245055350ae3dbab8e (patch) | |
tree | b1a19fcdf05759281fab0d89efb13f0fdf42102e /sys/fs/procfs/procfs_map.c | |
parent | 9b36a30ee46a7766f269fe832ef3a2daa2ec04f0 (diff) |
Notes
Diffstat (limited to 'sys/fs/procfs/procfs_map.c')
-rw-r--r-- | sys/fs/procfs/procfs_map.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/fs/procfs/procfs_map.c b/sys/fs/procfs/procfs_map.c index 692594d2d125f..945639a636d98 100644 --- a/sys/fs/procfs/procfs_map.c +++ b/sys/fs/procfs/procfs_map.c @@ -182,8 +182,7 @@ case OBJT_DEVICE: } int -procfs_validmap(p) - struct proc *p; +procfs_validmap(struct thread *td) { - return ((p->p_flag & P_SYSTEM) == 0); + return ((td->td_proc->p_flag & P_SYSTEM) == 0); } |