fs/spiffs/src/spiffs_gc.c: Fix syslog formats

This commit is contained in:
YAMAMOTO Takashi 2020-11-25 08:13:37 +09:00 committed by Xiang Xiao
parent a6b4c1b755
commit be013cc338

View File

@ -652,7 +652,7 @@ static int spiffs_gc_clean(FAR struct spiffs_s *fs, int16_t blkndx)
spiffs_gcinfo(
"Wrote page=%04x to objhdr entry=%04x\n",
new_data_pgndx,
SPIFFS_OBJNDX_ENTRY(fs, phdr.spndx));
(int)SPIFFS_OBJNDX_ENTRY(fs, phdr.spndx));
}
else
{
@ -666,7 +666,7 @@ static int spiffs_gc_clean(FAR struct spiffs_s *fs, int16_t blkndx)
spiffs_gcinfo(
"Wrote page=%04x to objndx entry=%04x\n",
new_data_pgndx,
SPIFFS_OBJNDX_ENTRY(fs, phdr.spndx));
(int)SPIFFS_OBJNDX_ENTRY(fs, phdr.spndx));
}
}
}