Author: glebius
Date: Tue Aug 16 23:00:22 2016
New Revision: 304245
URL: https://svnweb.freebsd.org/changeset/base/304245

Log:
  Fix a stupid typo (or copy/paste buffer malfunction).

Modified:
  head/sys/kern/kern_timeout.c

Modified: head/sys/kern/kern_timeout.c
==============================================================================
--- head/sys/kern/kern_timeout.c        Tue Aug 16 21:55:34 2016        
(r304244)
+++ head/sys/kern/kern_timeout.c        Tue Aug 16 23:00:22 2016        
(r304245)
@@ -1061,7 +1061,7 @@ callout_reset_sbt_on(struct callout *c, 
                 */
                if (c->c_lock != NULL && !cc_exec_cancel(cc, direct))
                        cancelled = cc_exec_cancel(cc, direct) = true;
-               if (cc_exec_waiting(cc, direct) || cc_exec_drain(cc, dir)) {
+               if (cc_exec_waiting(cc, direct) || cc_exec_drain(cc, direct)) {
                        /*
                         * Someone has called callout_drain to kill this
                         * callout.  Don't reschedule.
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to