summaryrefslogtreecommitdiff
path: root/firmware/common/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/dir.c')
-rw-r--r--firmware/common/dir.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/common/dir.c b/firmware/common/dir.c
index 70aa494..6bf9a53 100644
--- a/firmware/common/dir.c
+++ b/firmware/common/dir.c
@@ -105,8 +105,7 @@ struct dirent* readdir(DIR* dir)
return NULL;
if ( !entry.name[0] )
- return NULL;
-
+ return NULL;
strncpy(theent->d_name, entry.name, sizeof( theent->d_name ) );
theent->attribute = entry.attr;