From 48e3e2d39085451d9ff4c4c99e58be95a995962f Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 20 Nov 2020 11:37:27 +0900 Subject: [PATCH] binfmt/binfmt_dumpmodule.c: Fix syslog format errors --- binfmt/binfmt_dumpmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binfmt/binfmt_dumpmodule.c b/binfmt/binfmt_dumpmodule.c index c10621bddb..9928c8aad5 100644 --- a/binfmt/binfmt_dumpmodule.c +++ b/binfmt/binfmt_dumpmodule.c @@ -74,7 +74,7 @@ int dump_module(FAR const struct binary_s *bin) binfo(" filename: %s\n", bin->filename); binfo(" argv: %p\n", bin->argv); binfo(" entrypt: %p\n", bin->entrypt); - binfo(" mapped: %p size=%d\n", bin->mapped, bin->mapsize); + binfo(" mapped: %p size=%zd\n", bin->mapped, bin->mapsize); binfo(" alloc: %p %p %p\n", bin->alloc[0], bin->alloc[1], bin->alloc[2]); @@ -85,7 +85,7 @@ int dump_module(FAR const struct binary_s *bin) #ifdef CONFIG_ARCH_ADDRENV binfo(" addrenv: %p\n", bin->addrenv); #endif - binfo(" stacksize: %d\n", bin->stacksize); + binfo(" stacksize: %zd\n", bin->stacksize); binfo(" unload: %p\n", bin->unload); }