summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/common/dircache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/dircache.c b/firmware/common/dircache.c
index 3eae85ee3b..92eba42f65 100644
--- a/firmware/common/dircache.c
+++ b/firmware/common/dircache.c
@@ -1015,7 +1015,7 @@ static struct dircache_entry* dircache_new_entry(const char *path, int attribute
1015 entry->info.attribute = attribute; 1015 entry->info.attribute = attribute;
1016 1016
1017 strcpy(entry->d_name, new); 1017 strcpy(entry->d_name, new);
1018 dircache_size += strlen(entry->d_name); 1018 dircache_size += strlen(entry->d_name) + 1;
1019 1019
1020 if (attribute & ATTR_DIRECTORY) 1020 if (attribute & ATTR_DIRECTORY)
1021 { 1021 {