mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
libs/libc/pthread/pthread_attr_setstacksize.c: Fix a syslog format
This commit is contained in:
committed by
Xiang Xiao
parent
bffba65e37
commit
02b92c5ad9
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user