diff --git a/jlib/base/currentthread.h b/jlib/base/currentthread.h
index 918644d009c69876d56413f61d7ee5bab5545585..a6f36c8e4476487e7d6dbd5a2381865d0392f195 100644
--- a/jlib/base/currentthread.h
+++ b/jlib/base/currentthread.h
@@ -47,7 +47,7 @@ inline void cacheTid() {
 inline uint64_t tid() {
 #ifdef JLIB_LINUX
     if (__builtin_expect(t_cachedTid == 0, 0)) {
-        cachedTid();
+		cacheTid();
     }
 #else
     if (t_cachedTid != 0) {