You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/11/25 06:31:45 UTC
[incubator-nuttx] 02/28:
arch/risc-v/src/common/riscv_createstack.c: Fix a syslog format
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit e0d535c31745508de673d4f1bc74a6f49d0109a4
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Tue Nov 24 07:13:01 2020 +0900
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 318f798..dd145a2 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
}