From 02b92c5ad9a109fc4230af6d8b0099ba3cbceb9d Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 20 Nov 2020 16:55:10 +0900 Subject: [PATCH] libs/libc/pthread/pthread_attr_setstacksize.c: Fix a syslog format --- libs/libc/pthread/pthread_attr_setstacksize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libc/pthread/pthread_attr_setstacksize.c b/libs/libc/pthread/pthread_attr_setstacksize.c index 6e7a55f0fe..b820bdb073 100644 --- a/libs/libc/pthread/pthread_attr_setstacksize.c +++ b/libs/libc/pthread/pthread_attr_setstacksize.c @@ -68,7 +68,7 @@ int pthread_attr_setstacksize(FAR pthread_attr_t *attr, size_t stacksize) { int ret; - linfo("attr=0x%p stacksize=%ld\n", attr, stacksize); + linfo("attr=0x%p stacksize=%zu\n", attr, stacksize); if (!attr || stacksize < PTHREAD_STACK_MIN) {