diff options
author | jhb <jhb@FreeBSD.org> | 2002-06-07 05:37:18 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-06-07 05:37:18 +0000 |
commit | fbebc83b5b089064d7d4f969ef3459ad64815af2 (patch) | |
tree | d6f2724dac3173532bc97130435f5c94f5151f01 /sys/compat/svr4 | |
parent | ab80d12ef1c521cbfb58560aa8d6071aca990d9d (diff) | |
download | FreeBSD-src-fbebc83b5b089064d7d4f969ef3459ad64815af2.zip FreeBSD-src-fbebc83b5b089064d7d4f969ef3459ad64815af2.tar.gz |
Catch up to changes in ktrace API.
Diffstat (limited to 'sys/compat/svr4')
-rw-r--r-- | sys/compat/svr4/svr4_stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/svr4/svr4_stream.c b/sys/compat/svr4/svr4_stream.c index feaedcb..2ed6121 100644 --- a/sys/compat/svr4/svr4_stream.c +++ b/sys/compat/svr4/svr4_stream.c @@ -227,7 +227,7 @@ svr4_sendit(td, s, mp, flags) if (error == 0) { ktruio.uio_iov = ktriov; ktruio.uio_resid = td->td_retval[0]; - ktrgenio(td->td_proc->p_tracep, s, UIO_WRITE, &ktruio, error); + ktrgenio(s, UIO_WRITE, &ktruio, error); } FREE(ktriov, M_TEMP); } @@ -299,7 +299,7 @@ svr4_recvit(td, s, mp, namelenp) if (error == 0) { ktruio.uio_iov = ktriov; ktruio.uio_resid = len - auio.uio_resid; - ktrgenio(td->td_proc->p_tracep, s, UIO_READ, &ktruio, error); + ktrgenio(s, UIO_READ, &ktruio, error); } FREE(ktriov, M_TEMP); } |