From 45444edc16c01bf9201382e6c0b7e7bbb27b8685 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Sat, 5 Dec 2020 14:10:54 +0900 Subject: [PATCH] fs/nxffs/nxffs_write.c: Fix a syslog format --- fs/nxffs/nxffs_write.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/nxffs/nxffs_write.c b/fs/nxffs/nxffs_write.c index d59e787ba9..5344261df6 100644 --- a/fs/nxffs/nxffs_write.c +++ b/fs/nxffs/nxffs_write.c @@ -882,8 +882,8 @@ int nxffs_wrverify(FAR struct nxffs_volume_s *volume, size_t size) * the block has uncorrectable bit errors. */ - ferr("ERROR: Failed to read block %d: %d\n", - volume->ioblock, -ret); + ferr("ERROR: Failed to read block %jd: %d\n", + (intmax_t)volume->ioblock, -ret); } /* Search to the very end of this block if we have to */