aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/Examples/ex17.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/Examples/ex17.c')
-rw-r--r--linuxthreads/Examples/ex17.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/Examples/ex17.c b/linuxthreads/Examples/ex17.c
index a3ab909990..1bc09a5bda 100644
--- a/linuxthreads/Examples/ex17.c
+++ b/linuxthreads/Examples/ex17.c
@@ -53,7 +53,7 @@ main (void)
if (stack2 != stack || stacksize != STACKSIZE)
{
- printf ("first pthread_attr_getstack returned different stack (%p,%x)\n"
+ printf ("first pthread_attr_getstack returned different stack (%p,%zx)\n"
"than was set by setstack (%p,%x)\n",
stack2, stacksize, stack, STACKSIZE);
return 2;
@@ -89,7 +89,7 @@ main (void)
if (stack2 != stack || stacksize != STACKSIZE)
{
- printf ("second pthread_attr_getstack returned different stack (%p,%x)\n"
+ printf ("second pthread_attr_getstack returned different stack (%p,%zx)\n"
"than was set by setstack (%p,%x)\n",
stack2, stacksize, stack, STACKSIZE);
return 3;