mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
fs/spiffs/src/spiffs_mtd.c: Fix a syslog format
This commit is contained in:
parent
38e6f68535
commit
ac6b08c8e9
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ ssize_t spiffs_mtd_erase(FAR struct spiffs_s *fs, off_t offset, size_t len)
|
|||
nerased = MTD_ERASE(fs->mtd, eblkstart, eblkend - eblkstart);
|
||||
if (nerased < 0)
|
||||
{
|
||||
ferr("ERROR: MTD_ERASE() failed: %d\n");
|
||||
ferr("ERROR: MTD_ERASE() failed: %zd\n", nerased);
|
||||
return nerased;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue