binfmt/binfmt_dumpmodule.c: Fix syslog format errors

This commit is contained in:
YAMAMOTO Takashi 2020-11-20 11:37:27 +09:00 committed by Xiang Xiao
parent 0b48fed6ee
commit 48e3e2d390
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}