aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lock.c b/core/lock.c
index e7c60a3..d3f881a 100644
--- a/core/lock.c
+++ b/core/lock.c
@@ -226,7 +226,7 @@ void lock_caller(struct lock *l, const char *owner)
lock_check(l);
- if (try_lock(l))
+ if (try_lock_caller(l, owner))
return;
add_lock_request(l);