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_ctl.c | |
| parent | 2bab796d96af8c985c3258e20e5459a7a64d9c6d (diff) | |
Notes
Diffstat (limited to 'sys/fs/procfs/procfs_ctl.c')
| -rw-r--r-- | sys/fs/procfs/procfs_ctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/procfs/procfs_ctl.c b/sys/fs/procfs/procfs_ctl.c index cf8cbc7cc892..0f353706b847 100644 --- a/sys/fs/procfs/procfs_ctl.c +++ b/sys/fs/procfs/procfs_ctl.c @@ -122,7 +122,7 @@ procfs_control(struct thread *td, struct proc *p, int op) if (op == PROCFS_CTL_ATTACH) { sx_xlock(&proctree_lock); PROC_LOCK(p); - if ((error = p_candebug(td->td_proc, p)) != 0) + if ((error = p_candebug(td, p)) != 0) goto out; if (p->p_flag & P_TRACED) { error = EBUSY; @@ -165,7 +165,7 @@ out: */ PROC_LOCK(p); if (op != PROCFS_CTL_DETACH && - ((error = p_candebug(td->td_proc, p)))) { + ((error = p_candebug(td, p)))) { PROC_UNLOCK(p); return (error); } |
