summary refs log tree commit diff stats
path: root/lib/core/rlocks.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/core/rlocks.nim')
-rw-r--r--lib/core/rlocks.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/rlocks.nim b/lib/core/rlocks.nim
index 34d7687f9..27a9c5e60 100644
--- a/lib/core/rlocks.nim
+++ b/lib/core/rlocks.nim
@@ -24,7 +24,7 @@ proc initRLock*(lock: var RLock) {.inline.} =
   when defined(posix):
     var a: SysLockAttr
     initSysLockAttr(a)
-    setSysLockType(a, SysLockType_Reentrant())
+    setSysLockType(a, SysLockType_Reentrant)
     initSysLock(lock, a.addr)
   else:
     initSysLock(lock)