libs/libc/spawn/lib_psa_dump.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-12-05 14:21:07 +09:00 committed by Xiang Xiao
parent 0a4ee70f39
commit 9579fe1444

View File

@ -49,6 +49,7 @@
#define CONFIG_DEBUG_INFO 1 #define CONFIG_DEBUG_INFO 1
#include <spawn.h> #include <spawn.h>
#include <stdint.h>
#include <debug.h> #include <debug.h>
#ifdef CONFIG_DEBUG_FEATURES #ifdef CONFIG_DEBUG_FEATURES
@ -129,7 +130,7 @@ void posix_spawnattr_dump(posix_spawnattr_t *attr)
_err(" Unrecognized\n"); _err(" Unrecognized\n");
} }
_err(" sigmask: %08x\n", attr->sigmask); _err(" sigmask: %08jx\n", (uintmax_t)attr->sigmask);
#endif /* CONFIG_DEBUG_ERROR */ #endif /* CONFIG_DEBUG_ERROR */
} }