diff options
Diffstat (limited to 'firmware/common')
-rw-r--r-- | firmware/common/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/file.c b/firmware/common/file.c index 27258e4603..3e402bde2b 100644 --- a/firmware/common/file.c +++ b/firmware/common/file.c | |||
@@ -226,7 +226,7 @@ static int readwrite(int fd, void* buf, int count, bool write) | |||
226 | int rc = fat_readwrite(&(openfiles[fd].fatfile), 1, | 226 | int rc = fat_readwrite(&(openfiles[fd].fatfile), 1, |
227 | openfiles[fd].cache, true ); | 227 | openfiles[fd].cache, true ); |
228 | if ( rc < 0 ) { | 228 | if ( rc < 0 ) { |
229 | DEBUGF("Failed read/writing %d sectors\n",sectors); | 229 | DEBUGF("Failed read/writing\n"); |
230 | errno = EIO; | 230 | errno = EIO; |
231 | return -2; | 231 | return -2; |
232 | } | 232 | } |