From 9579fe1444d96f64f0758944ef83c5e5bb0607ee Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Sat, 5 Dec 2020 14:21:07 +0900 Subject: [PATCH] libs/libc/spawn/lib_psa_dump.c: Fix a syslog format --- libs/libc/spawn/lib_psa_dump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/libc/spawn/lib_psa_dump.c b/libs/libc/spawn/lib_psa_dump.c index bbacdd05dc..da55cfb506 100644 --- a/libs/libc/spawn/lib_psa_dump.c +++ b/libs/libc/spawn/lib_psa_dump.c @@ -49,6 +49,7 @@ #define CONFIG_DEBUG_INFO 1 #include +#include #include #ifdef CONFIG_DEBUG_FEATURES @@ -129,7 +130,7 @@ void posix_spawnattr_dump(posix_spawnattr_t *attr) _err(" Unrecognized\n"); } - _err(" sigmask: %08x\n", attr->sigmask); + _err(" sigmask: %08jx\n", (uintmax_t)attr->sigmask); #endif /* CONFIG_DEBUG_ERROR */ }