summaryrefslogtreecommitdiffstats
path: root/source4/passdb/secrets.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/passdb/secrets.c')
-rw-r--r--source4/passdb/secrets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/passdb/secrets.c b/source4/passdb/secrets.c
index b7d05dd98ca..d9501b866c0 100644
--- a/source4/passdb/secrets.c
+++ b/source4/passdb/secrets.c
@@ -139,7 +139,7 @@ BOOL secrets_named_mutex(const char *name, uint_t timeout, size_t *p_ref_count)
return False;
if (ref_count == 0) {
- ret = tdb_lock_bystring(tdb->tdb, name, timeout);
+ ret = tdb_lock_bystring(tdb->tdb, name);
if (ret == 0)
DEBUG(10,("secrets_named_mutex: got mutex for %s\n", name ));
}