This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 13e55ce0d4ca67d95f7ec4c2104e951a58b972d1 Author: YAMAMOTO Takashi <yamam...@midokura.com> AuthorDate: Sun Nov 22 10:53:11 2020 +0900 fs/romfs/fs_romfsutil.c: Fix syslog formats --- fs/romfs/fs_romfsutil.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/romfs/fs_romfsutil.c b/fs/romfs/fs_romfsutil.c index 608b417..dc15cc5 100644 --- a/fs/romfs/fs_romfsutil.c +++ b/fs/romfs/fs_romfsutil.c @@ -27,6 +27,7 @@ #include <nuttx/config.h> #include <sys/types.h> +#include <inttypes.h> #include <stdint.h> #include <stdbool.h> #include <stdlib.h> @@ -416,7 +417,8 @@ int romfs_filecacheread(struct romfs_mountpt_s *rm, struct romfs_file_s *rf, { int ret; - finfo("sector: %d cached: %d sectorsize: %d XIP base: %p buffer: %p\n", + finfo("sector: %" PRId32 " cached: %" PRId32 + " sectorsize: %d XIP base: %p buffer: %p\n", sector, rf->rf_cachesector, rm->rm_hwsectorsize, rm->rm_xipbase, rf->rf_buffer);