arch/risc-v/src/common/riscv_createstack.c: Fix a syslog format
This commit is contained in:
parent
67ea358f96
commit
e0d535c317
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user