aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/Examples/ex17.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-25 08:44:43 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-25 08:44:43 +0000
commit6d497bbef7f18e37f862c2eaa1820f87546936e1 (patch)
tree534e2ec81ac34ec866783d811a0124da1867366c /linuxthreads/Examples/ex17.c
parent5a47e7f2a85ecc103175095c0f4104065fd4d8db (diff)
downloadglibc-6d497bbef7f18e37f862c2eaa1820f87546936e1.zip
glibc-6d497bbef7f18e37f862c2eaa1820f87546936e1.tar.gz
glibc-6d497bbef7f18e37f862c2eaa1820f87546936e1.tar.bz2
Update.
* libio/tst-freopen.c (main): Use correct formats for __LINE__. * libio/tst-mmap-setvbuf.c (main): Likewise. * libio/tst-widetext.c (main): Likewise. * libio/tst-mmap-eofsync.c (do_test): Use correct format in error message. * libio/tst-mmap-fflushsync.c (do_test): Likewise. * libio/tst-mmap2-eofsync.c (do_test): Likewise.
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 a3ab909..1bc09a5 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;