diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c index acb0a667a118..29ca5bbc8e2a 100644 --- a/sys/kern/kern_timeout.c +++ b/sys/kern/kern_timeout.c @@ -1061,7 +1061,7 @@ callout_reset_sbt_on(struct callout *c, sbintime_t sbt, sbintime_t prec, */ 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.