diff --git a/sys/kern/kern_fail.c b/sys/kern/kern_fail.c index b5bf0664e6e4..6f3115b3e15b 100644 --- a/sys/kern/kern_fail.c +++ b/sys/kern/kern_fail.c @@ -425,7 +425,7 @@ fail_point_sleep(struct fail_point *fp, int msecs, int timo; /* Convert from millisecs to ticks, rounding up */ - timo = howmany(msecs * hz, 1000); + timo = howmany((int64_t)msecs * hz, 1000L); if (timo > 0) { if (!(fp->fp_flags & FAIL_POINT_USE_TIMEOUT_PATH)) {