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) int rc = fat_readwrite(&(openfiles[fd].fatfile), 1, openfiles[fd].cache, true ); if ( rc < 0 ) { - DEBUGF("Failed read/writing %d sectors\n",sectors); + DEBUGF("Failed read/writing\n"); errno = EIO; return -2; }