summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-03-13 02:48:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:03 -0500
commitee461300a5a888d632f4046796ea119023d1303c (patch)
tree9396c611c133586b16a58ba09bb0f75e57cdabbd
parent03cd26e353b74d88b02ce36dc73932452a7b3715 (diff)
downloadsamba-ee461300a5a888d632f4046796ea119023d1303c.tar.gz
samba-ee461300a5a888d632f4046796ea119023d1303c.tar.bz2
samba-ee461300a5a888d632f4046796ea119023d1303c.zip
r5781: Fix build.
(This used to be commit 35354456b2ab2fa173359fa16d8accb13a8fac7d)
-rw-r--r--source4/lib/gencache.c2
-rw-r--r--source4/passdb/secrets.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/gencache.c b/source4/lib/gencache.c
index b6d62977ad..2db66b7564 100644
--- a/source4/lib/gencache.c
+++ b/source4/lib/gencache.c
@@ -363,7 +363,7 @@ void gencache_iterate(void (*fn)(const char* key, const char *value, time_t time
int gencache_lock_entry( const char *key )
{
- return tdb_lock_bystring(cache->tdb, key, 0);
+ return tdb_lock_bystring(cache->tdb, key);
}
/********************************************************************
diff --git a/source4/passdb/secrets.c b/source4/passdb/secrets.c
index b7d05dd98c..d9501b866c 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 ));
}