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