diff options
-rw-r--r-- | src/common/compat_time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat_time.c b/src/common/compat_time.c index cc2c3c8a74..77fdfc86cd 100644 --- a/src/common/compat_time.c +++ b/src/common/compat_time.c @@ -536,12 +536,12 @@ void monotime_init(void) { if (!monotime_initialized) { + monotime_initialized = 1; monotime_init_internal(); monotime_get(&initialized_at); #ifdef MONOTIME_COARSE_FN_IS_DIFFERENT monotime_coarse_get(&initialized_at_coarse); #endif - monotime_initialized = 1; } } |