From c9d85700406a26d96acf5b75a60dbf7fea872d3c Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Sat, 5 Dec 2020 14:09:31 +0900 Subject: [PATCH] fs/nxffs/nxffs_reformat.c: Fix a syslog format --- fs/nxffs/nxffs_reformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nxffs/nxffs_reformat.c b/fs/nxffs/nxffs_reformat.c index 7b77cd7c20..b373017b87 100644 --- a/fs/nxffs/nxffs_reformat.c +++ b/fs/nxffs/nxffs_reformat.c @@ -97,7 +97,7 @@ static int nxffs_format(FAR struct nxffs_volume_s *volume) ret = MTD_ERASE(volume->mtd, eblock, 1); if (ret < 0) { - ferr("ERROR: Erase block %d failed: %d\n", eblock, ret); + ferr("ERROR: Erase block %jd failed: %d\n", (intmax_t)eblock, ret); return ret; }