aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-06-11 21:14:02 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-06-11 21:14:02 +0000
commit85145119ed88ac51ab888f9d4f119556ecbc8ec5 (patch)
treeb31dbcddef9f825179cadbd58512625e707ac23d
parent2c55319df30f64816f8909ec9ace3e366af7427d (diff)
downloadsrc-85145119ed88ac51ab888f9d4f119556ecbc8ec5.tar.gz
src-85145119ed88ac51ab888f9d4f119556ecbc8ec5.zip
catch up with ktrace changes, KTRPOINT takes a 'struct thread' not
'struct proc' now.
Notes
Notes: svn path=/head/; revision=98124
-rw-r--r--sys/compat/svr4/svr4_stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/svr4/svr4_stream.c b/sys/compat/svr4/svr4_stream.c
index 2ed6121953ce..2f0d5e31e3eb 100644
--- a/sys/compat/svr4/svr4_stream.c
+++ b/sys/compat/svr4/svr4_stream.c
@@ -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);