diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-05-19 00:14:50 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-05-19 00:14:50 +0000 |
| commit | f44d9e24fbb396076ebabf326c6f80e166d3d4a5 (patch) | |
| tree | 0642e3c6447c397fe8442630e46788930550bb42 /sys/fs/procfs/procfs_status.c | |
| parent | 2bab796d96af8c985c3258e20e5459a7a64d9c6d (diff) | |
Notes
Diffstat (limited to 'sys/fs/procfs/procfs_status.c')
| -rw-r--r-- | sys/fs/procfs/procfs_status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/procfs/procfs_status.c b/sys/fs/procfs/procfs_status.c index b03f4dc56fe5..6e5711b0fe2b 100644 --- a/sys/fs/procfs/procfs_status.c +++ b/sys/fs/procfs/procfs_status.c @@ -182,7 +182,7 @@ procfs_doproccmdline(PFS_FILL_ARGS) */ PROC_LOCK(p); - if (p->p_args && (ps_argsopen || !p_cansee(td->td_proc, p))) { + if (p->p_args && (ps_argsopen || !p_cansee(td, p))) { sbuf_bcpy(sb, p->p_args->ar_args, p->p_args->ar_length); PROC_UNLOCK(p); return (0); |
