From 7780b76cf0da534cf8e5aad02d5cb2db64c96940 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Fri, 23 Aug 2019 22:15:35 +0300 Subject: [PATCH] mdbx: fix internal typo. Change-Id: Ib31e8f02d816758a66b5e6b260714e25648f66c2 --- src/osal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osal.c b/src/osal.c index 8fb23c59..c61e4a2a 100644 --- a/src/osal.c +++ b/src/osal.c @@ -1228,7 +1228,7 @@ __cold void mdbx_osal_jitter(bool tiny) { #elif defined(__APPLE__) || defined(__MACH__) #include #elif defined(__linux__) || defined(__gnu_linux__) -static __cold clockid_t choise_monoclock() { +static __cold clockid_t choice_monoclock() { struct timespec probe; #if defined(CLOCK_BOOTTIME) if (clock_gettime(CLOCK_BOOTTIME, &probe) == 0) @@ -1276,7 +1276,7 @@ uint64_t mdbx_osal_monotime(void) { #if defined(__linux__) || defined(__gnu_linux__) static clockid_t posix_clockid = -1; if (unlikely(posix_clockid < 0)) - posix_clockid = choise_monoclock(); + posix_clockid = choice_monoclock(); #elif defined(CLOCK_MONOTONIC) #define posix_clockid CLOCK_MONOTONIC #else