summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxbarrier01
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-27 14:10:54 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-27 14:10:54 +0000
commit39615f481a74f1d4d612b734ea8a126e4e43b407 (patch)
tree7f2c2c7288bbbe738978a7082460ee50a9414f52 /testsuites/psxtests/psxbarrier01
parent2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-39615f481a74f1d4d612b734ea8a126e4e43b407.tar.bz2
Use PRIxpthread_t to print pthread_t's.
Diffstat (limited to 'testsuites/psxtests/psxbarrier01')
-rw-r--r--testsuites/psxtests/psxbarrier01/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxbarrier01/test.c b/testsuites/psxtests/psxbarrier01/test.c
index 838041791c..7ddc99b912 100644
--- a/testsuites/psxtests/psxbarrier01/test.c
+++ b/testsuites/psxtests/psxbarrier01/test.c
@@ -29,9 +29,9 @@ void *BarrierThread(void *arg)
pthread_t id = *(pthread_t *) arg;
int status;
- printf( "pthread_barrier_wait( &Barrier ) for thread 0x%08x\n", id );
+ printf( "pthread_barrier_wait( &Barrier ) for thread 0x%08" PRIxpthread_t "\n", id );
status = pthread_barrier_wait( &Barrier );
- printf( "pthread_barrier_wait - 0x%08x released\n", id );
+ printf( "pthread_barrier_wait - 0x%08" PRIxpthread_t " released\n", id );
assert( (status == 0) || (status == PTHREAD_BARRIER_SERIAL_THREAD) );
return NULL;