svn commit: r246416 - projects/calloutng/sys/kern
Davide Italiano
davide at FreeBSD.org
Wed Feb 6 16:43:35 UTC 2013
Author: davide
Date: Wed Feb 6 16:43:35 2013
New Revision: 246416
URL: http://svnweb.freebsd.org/changeset/base/246416
Log:
Fix build if NO_EVENTTIMERS is defined.
Modified:
projects/calloutng/sys/kern/kern_timeout.c
Modified: projects/calloutng/sys/kern/kern_timeout.c
==============================================================================
--- projects/calloutng/sys/kern/kern_timeout.c Wed Feb 6 16:25:42 2013 (r246415)
+++ projects/calloutng/sys/kern/kern_timeout.c Wed Feb 6 16:43:35 2013 (r246416)
@@ -915,7 +915,7 @@ callout_reset_sbt_on(struct callout *c,
sbt >= sbt_timethreshold) {
getsbinuptime(&to_sbt);
/* Add safety belt for the case of hz > 1000. */
- to_sbt += (tc_tick_dur - tick_dur);
+ to_sbt += (tc_tick_sbt - tick_sbt);
#else
sbt >= sbt_tickthreshold) {
/*
More information about the svn-src-projects
mailing list