catch up with ktrace changes, KTRPOINT takes a 'struct thread' not

'struct proc' now.
This commit is contained in:
alfred 2002-06-11 21:14:02 +00:00
parent 4c57fa1987
commit 6995a6ac42

View File

@ -199,7 +199,7 @@ svr4_sendit(td, s, mp, flags)
control = 0;
}
#ifdef KTRACE
if (KTRPOINT(td->td_proc, KTR_GENIO)) {
if (KTRPOINT(td, KTR_GENIO)) {
int iovlen = auio.uio_iovcnt * sizeof (struct iovec);
MALLOC(ktriov, struct iovec *, iovlen, M_TEMP, M_WAITOK);
@ -277,7 +277,7 @@ svr4_recvit(td, s, mp, namelenp)
}
}
#ifdef KTRACE
if (KTRPOINT(td->td_proc, KTR_GENIO)) {
if (KTRPOINT(td, KTR_GENIO)) {
int iovlen = auio.uio_iovcnt * sizeof (struct iovec);
MALLOC(ktriov, struct iovec *, iovlen, M_TEMP, M_WAITOK);