From 38e6f68535cc0c34b85594e3343976a035095a70 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Sat, 21 Nov 2020 11:35:57 +0900 Subject: [PATCH] fs/spiffs/src/spiffs_core.c: Fix a syslog format --- fs/spiffs/src/spiffs_core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/spiffs/src/spiffs_core.c b/fs/spiffs/src/spiffs_core.c index 25047e2738..725424f5ad 100644 --- a/fs/spiffs/src/spiffs_core.c +++ b/fs/spiffs/src/spiffs_core.c @@ -45,6 +45,7 @@ #include +#include #include #include @@ -3418,7 +3419,8 @@ ssize_t spiffs_object_read(FAR struct spiffs_s *fs, len_to_read = MIN(len_to_read, fobj->size); - finfo("Read offset=%d rd=%d data spndx=%d is data_pgndx=%d addr=%p\n", + finfo("Read offset=%d rd=%d data spndx=%d is " + "data_pgndx=%d addr=%" PRIu32 "\n", cur_offset, len_to_read, data_spndx, data_pgndx, (SPIFFS_PAGE_TO_PADDR(fs, data_pgndx) + sizeof(struct spiffs_page_header_s) +