diff --git a/module/spl/spl-time.c b/module/spl/spl-time.c index 4c08b754dd..6ef9b8fc8e 100644 --- a/module/spl/spl-time.c +++ b/module/spl/spl-time.c @@ -63,7 +63,7 @@ __gethrtime(void) { struct timespec ts; do_posix_clock_monotonic_gettime(&ts); - return (hrtime_t)((ts.tv_sec * NSEC_PER_SEC) + ts.tv_nsec); + return (((hrtime_t)ts.tv_sec * NSEC_PER_SEC) + ts.tv_nsec); #endif } EXPORT_SYMBOL(__gethrtime);