aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2015-08-21 21:47:29 +0000
committerWarner Losh <imp@FreeBSD.org>2015-08-21 21:47:29 +0000
commite64ac86eb40fe4fdb16aff084aa0eda49540470f (patch)
tree34a37e54c11afc07ad51dca317a7a2bb084d9cbf
parent10df57f9cf701e6be7b3a7617dfe0708a442343e (diff)
downloadsrc-e64ac86eb40fe4fdb16aff084aa0eda49540470f.tar.gz
src-e64ac86eb40fe4fdb16aff084aa0eda49540470f.zip
We're waiting on a struct proc *, not a struct thread *. Fix a
comment that was wrong.
Notes
Notes: svn path=/head/; revision=287008
-rw-r--r--sys/dev/pccbb/pccbb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c
index 03a8a1012db8..c5cf16de16d4 100644
--- a/sys/dev/pccbb/pccbb.c
+++ b/sys/dev/pccbb/pccbb.c
@@ -330,7 +330,7 @@ cbb_detach(device_t brdev)
/*
* Wait for the thread to die. kproc_exit will do a wakeup
- * on the event thread's struct thread * so that we know it is
+ * on the event thread's struct proc * so that we know it is
* safe to proceed. IF the thread is running, set the please
* die flag and wait for it to comply. Since the wakeup on
* the event thread happens only in kproc_exit, we don't