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/kern/sys_process.c | |
| parent | 2bab796d96af8c985c3258e20e5459a7a64d9c6d (diff) | |
Notes
Diffstat (limited to 'sys/kern/sys_process.c')
| -rw-r--r-- | sys/kern/sys_process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 6faf442768ee..6fc7417ec7fe 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -388,12 +388,12 @@ ptrace(struct thread *td, struct ptrace_args *uap) return (ESRCH); } } - if (p_cansee(td->td_proc, p)) { + if (p_cansee(td, p)) { error = ESRCH; goto fail; } - if ((error = p_candebug(td->td_proc, p)) != 0) + if ((error = p_candebug(td, p)) != 0) goto fail; /* |
