arch/risc-v/src/common/riscv_createstack.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-11-24 07:13:01 +09:00 committed by Xiang Xiao
parent 67ea358f96
commit e0d535c317

View File

@ -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) 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 #endif
} }