summaryrefslogtreecommitdiffstats
path: root/mbbsd/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/cache.c')
-rw-r--r--mbbsd/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index 6124d361..67864fa8 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -531,7 +531,7 @@ load_fileheader_bottom_cache(int bid, char *direct)
if(n_bottom)
{
char path[256];
- sprintf(path, "%s.%s", direct, ".bottom");
+ sprintf(path, "%s.bottom", direct);
get_records(path, &SHM->dircache[bid - 1][dirsize],
sizeof(fileheader_t), 1, n_bottom);
}