diff --git a/src/libs/compat/freebsd_network/callout.cpp b/src/libs/compat/freebsd_network/callout.cpp index 303a98ebeb..3afe186778 100644 --- a/src/libs/compat/freebsd_network/callout.cpp +++ b/src/libs/compat/freebsd_network/callout.cpp @@ -176,7 +176,7 @@ callout_init_mtx(struct callout *c, struct mtx *mtx, int flags) int callout_reset(struct callout *c, int _ticks, void (*func)(void *), void *arg) { - int canceled = callout_stop(c); + int canceled = callout_drain(c); MutexLocker locker(sLock);