diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-27 14:10:54 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-27 14:10:54 +0000 |
commit | 39615f481a74f1d4d612b734ea8a126e4e43b407 (patch) | |
tree | 7f2c2c7288bbbe738978a7082460ee50a9414f52 /testsuites/psxtests/psx10 | |
parent | 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-39615f481a74f1d4d612b734ea8a126e4e43b407.tar.bz2 |
Use PRIxpthread_t to print pthread_t's.
Diffstat (limited to 'testsuites/psxtests/psx10')
-rw-r--r-- | testsuites/psxtests/psx10/task.c | 2 | ||||
-rw-r--r-- | testsuites/psxtests/psx10/task2.c | 2 | ||||
-rw-r--r-- | testsuites/psxtests/psx10/task3.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/psxtests/psx10/task.c b/testsuites/psxtests/psx10/task.c index 7a1b5b9705..fb49b1544a 100644 --- a/testsuites/psxtests/psx10/task.c +++ b/testsuites/psxtests/psx10/task.c @@ -28,7 +28,7 @@ void *Task_1( /* wait for a condition variable signal from Init */ Task_id = pthread_self(); - printf( "Task_1: ID is 0x%08x\n", Task_id ); + printf( "Task_1: ID is 0x%08" PRIxpthread_t "\n", Task_id ); status = pthread_mutex_init( &Mutex_id, NULL ); assert( !status ); diff --git a/testsuites/psxtests/psx10/task2.c b/testsuites/psxtests/psx10/task2.c index 081616f339..6aef292030 100644 --- a/testsuites/psxtests/psx10/task2.c +++ b/testsuites/psxtests/psx10/task2.c @@ -26,7 +26,7 @@ void *Task_2( int status; Task_id = pthread_self(); - printf( "Task_2: ID is 0x%08x\n", Task_id ); + printf( "Task_2: ID is 0x%08" PRIxpthread_t "\n", Task_id ); status = pthread_mutex_lock( &Mutex_id ); assert( !status ); diff --git a/testsuites/psxtests/psx10/task3.c b/testsuites/psxtests/psx10/task3.c index b56d736bf4..fdf18fbe8f 100644 --- a/testsuites/psxtests/psx10/task3.c +++ b/testsuites/psxtests/psx10/task3.c @@ -26,7 +26,7 @@ void *Task_3( int status; Task_id = pthread_self(); - printf( "Task_3: ID is 0x%08x\n", Task_id ); + printf( "Task_3: ID is 0x%08" PRIxpthread_t "\n", Task_id ); status = pthread_mutex_lock( &Mutex_id ); assert( !status ); |