summaryrefslogtreecommitdiff
path: root/shadow
diff options
context:
space:
mode:
Diffstat (limited to 'shadow')
-rw-r--r--shadow/lckpwdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shadow/lckpwdf.c b/shadow/lckpwdf.c
index fb1c4b2e5e..60cf2eecf7 100644
--- a/shadow/lckpwdf.c
+++ b/shadow/lckpwdf.c
@@ -157,7 +157,7 @@ __ulckpwdf ()
else
{
/* Prevent problems caused by multiple threads. */
- __libc_lock_lock (&lock);
+ __libc_lock_lock (lock);
result = close (lock_fd);