From e0d535c31745508de673d4f1bc74a6f49d0109a4 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Tue, 24 Nov 2020 07:13:01 +0900 Subject: [PATCH] arch/risc-v/src/common/riscv_createstack.c: Fix a syslog format --- arch/risc-v/src/common/riscv_createstack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/risc-v/src/common/riscv_createstack.c b/arch/risc-v/src/common/riscv_createstack.c index 318f798532..dd145a2220 100644 --- a/arch/risc-v/src/common/riscv_createstack.c +++ b/arch/risc-v/src/common/riscv_createstack.c @@ -201,7 +201,7 @@ int up_create_stack(FAR struct tcb_s *tcb, size_t stack_size, uint8_t ttype) if (!tcb->stack_alloc_ptr) { - serr("ERROR: Failed to allocate stack, size %d\n", stack_size); + serr("ERROR: Failed to allocate stack, size %zu\n", stack_size); } #endif }