summaryrefslogtreecommitdiff
path: root/firmware/common
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common')
-rw-r--r--firmware/common/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/file.c b/firmware/common/file.c
index dfbebe1b90..6efcd38f16 100644
--- a/firmware/common/file.c
+++ b/firmware/common/file.c
@@ -423,7 +423,7 @@ static int readwrite(int fd, void* buf, int count, bool write)
423 rc = fat_readwrite(&(file->fatfile), 1, 423 rc = fat_readwrite(&(file->fatfile), 1,
424 file->cache, false ); 424 file->cache, false );
425 if ( rc < 0 ) { 425 if ( rc < 0 ) {
426 DEBUGF("Failed reading\n"); 426 DEBUGF("Failed writing\n");
427 errno = EIO; 427 errno = EIO;
428 return -6; 428 return -6;
429 } 429 }