summaryrefslogtreecommitdiff
path: root/firmware/common
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common')
-rw-r--r--firmware/common/dircache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/common/dircache.c b/firmware/common/dircache.c
index 2ce178c7b9..d5b9af6c07 100644
--- a/firmware/common/dircache.c
+++ b/firmware/common/dircache.c
@@ -885,7 +885,9 @@ int dircache_build(int last_size)
885 for(unsigned i = 0; i < entry_count; i++) 885 for(unsigned i = 0; i < entry_count; i++)
886 dircache_root[i].d_name -= offset; 886 dircache_root[i].d_name -= offset;
887 887
888 d_names_start -= offset;
888 d_names_end -= offset; 889 d_names_end -= offset;
890
889 /* equivalent to dircache_size + DIRCACHE_RESERVE */ 891 /* equivalent to dircache_size + DIRCACHE_RESERVE */
890 allocated_size = (d_names_end - (char*)dircache_root); 892 allocated_size = (d_names_end - (char*)dircache_root);
891 reserve_used = 0; 893 reserve_used = 0;