mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
fs/nxffs/nxffs_reformat.c: Fix a syslog format
This commit is contained in:
committed by
Xiang Xiao
parent
78356a7df2
commit
c9d8570040
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user