mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-18 10:09:27 -05:00
printf arguments more portable.
git-svn-id: file:///svn/unbound/trunk@3960 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
41d174b7f6
commit
163e7046cb
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ Wrapper for set up thread stack size */
|
|||
LOCKRET(pthread_attr_setstacksize(&attr, stackrequired)); \
|
||||
LOCKRET(pthread_create(thr, &attr, func, arg)); \
|
||||
LOCKRET(pthread_attr_getstacksize(&attr, &stacksize)); \
|
||||
verbose(VERB_ALGO, "Thread stack size set to %zu", stacksize); \
|
||||
verbose(VERB_ALGO, "Thread stack size set to %u", (unsigned)stacksize); \
|
||||
} else {LOCKRET(pthread_create(thr, NULL, func, arg));} \
|
||||
} while(0)
|
||||
/** Use wrapper for set thread stack size on attributes. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue