summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-08-31 10:30:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:26 -0500
commit90626652084c2ada6b2eb041db652720c03a1c3b (patch)
treecefced6345dfd85682c810388a9384fee1f4c9e1 /source
parent55020b07b5568104091352fd3ae21e2b29e34501 (diff)
downloadsamba-90626652084c2ada6b2eb041db652720c03a1c3b.tar.gz
samba-90626652084c2ada6b2eb041db652720c03a1c3b.tar.xz
samba-90626652084c2ada6b2eb041db652720c03a1c3b.zip
r24829: Make use of a variable, that is available... :-)
Diffstat (limited to 'source')
-rw-r--r--source/nsswitch/winbindd_cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/nsswitch/winbindd_cache.c b/source/nsswitch/winbindd_cache.c
index dc729bebe42..eb79e281cd7 100644
--- a/source/nsswitch/winbindd_cache.c
+++ b/source/nsswitch/winbindd_cache.c
@@ -3303,8 +3303,7 @@ int winbindd_validate_cache(void)
}
tdb_close(tdb);
- ret = tdb_validate_and_backup(lock_path("winbindd_cache.tdb"),
- cache_traverse_validate_fn);
+ ret = tdb_validate_and_backup(tdb_path, cache_traverse_validate_fn);
if (ret != 0) {
DEBUG(10, ("winbindd_validate_cache: validation not successful.\n"));