summaryrefslogtreecommitdiff
path: root/firmware/common/file_internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/file_internal.c')
-rw-r--r--firmware/common/file_internal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/common/file_internal.c b/firmware/common/file_internal.c
index 9ddbb232b4..a73d9beaa2 100644
--- a/firmware/common/file_internal.c
+++ b/firmware/common/file_internal.c
@@ -227,6 +227,7 @@ void iso_decode_d_name(char *d_name)
227 return; 227 return;
228 228
229 char shortname[13]; 229 char shortname[13];
230 /* this only gets called in the case of DOS (8.3) filenames */
230 size_t len = strlcpy(shortname, d_name, sizeof (shortname)); 231 size_t len = strlcpy(shortname, d_name, sizeof (shortname));
231 /* This MUST be the default codepage thus not something that could be 232 /* This MUST be the default codepage thus not something that could be
232 loaded on call */ 233 loaded on call */