summaryrefslogtreecommitdiff
path: root/nuttx/fs/nxffs/nxffs_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/fs/nxffs/nxffs_write.c')
-rw-r--r--nuttx/fs/nxffs/nxffs_write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/fs/nxffs/nxffs_write.c b/nuttx/fs/nxffs/nxffs_write.c
index b675e6154..e3dd84931 100644
--- a/nuttx/fs/nxffs/nxffs_write.c
+++ b/nuttx/fs/nxffs/nxffs_write.c
@@ -703,10 +703,10 @@ int nxffs_wrverify(FAR struct nxffs_volume_s *volume, size_t size)
{
/* Make sure that the block is in memory */
- ret = nxffs_rdcache(volume, volume->ioblock, 1);
+ ret = nxffs_rdcache(volume, volume->ioblock);
if (ret < 0)
{
- fdbg("nxffsx_rdcache failed: %d\n", -ret);
+ fdbg("Failed to read block %d: %d\n", volume->ioblock, -ret);
return ret;
}