fs/nxffs/nxffs_reformat.c: Fix a syslog format
This commit is contained in:
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);
|
ret = MTD_ERASE(volume->mtd, eblock, 1);
|
||||||
if (ret < 0)
|
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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user