Author: imp
Date: Fri Aug 21 21:47:29 2015
New Revision: 287008
URL: https://svnweb.freebsd.org/changeset/base/287008

Log:
  We're waiting on a struct proc *, not a struct thread *. Fix a
  comment that was wrong.

Modified:
  head/sys/dev/pccbb/pccbb.c

Modified: head/sys/dev/pccbb/pccbb.c
==============================================================================
--- head/sys/dev/pccbb/pccbb.c  Fri Aug 21 19:51:27 2015        (r287007)
+++ head/sys/dev/pccbb/pccbb.c  Fri Aug 21 21:47:29 2015        (r287008)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to