diff options
Diffstat (limited to 'firmware/common')
-rw-r--r-- | firmware/common/dir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/common/dir.c b/firmware/common/dir.c index 473997bd37..809e1a28e5 100644 --- a/firmware/common/dir.c +++ b/firmware/common/dir.c | |||
@@ -107,6 +107,7 @@ struct dirent* readdir(DIR* dir) | |||
107 | 107 | ||
108 | if ( !entry.name[0] ) | 108 | if ( !entry.name[0] ) |
109 | return NULL; | 109 | return NULL; |
110 | |||
110 | 111 | ||
111 | strncpy(theent->d_name, entry.name, sizeof( theent->d_name ) ); | 112 | strncpy(theent->d_name, entry.name, sizeof( theent->d_name ) ); |
112 | theent->attribute = entry.attr; | 113 | theent->attribute = entry.attr; |