diff options
Diffstat (limited to 'source4/lib/gencache')
-rw-r--r-- | source4/lib/gencache/gencache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/gencache/gencache.c b/source4/lib/gencache/gencache.c index 08ff55b211..30bb1d86ed 100644 --- a/source4/lib/gencache/gencache.c +++ b/source4/lib/gencache/gencache.c @@ -55,7 +55,7 @@ BOOL gencache_init(void) /* skip file open if it's already opened */ if (cache) return True; - cache_fname = lock_path(mem_ctx, "gencache.tdb"); + cache_fname = lock_path(mem_ctx, global_loadparm, "gencache.tdb"); if (cache_fname != NULL) { DEBUG(5, ("Opening cache file at %s\n", cache_fname)); } else { |