summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx01
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/psx01
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/psx01')
-rw-r--r--testsuites/psxtests/psx01/init.c2
-rw-r--r--testsuites/psxtests/psx01/task.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx01/init.c b/testsuites/psxtests/psx01/init.c
index e548e70221..f2dda08db7 100644
--- a/testsuites/psxtests/psx01/init.c
+++ b/testsuites/psxtests/psx01/init.c
@@ -45,7 +45,7 @@ void *POSIX_Init(
/* get id of this thread */
Init_id = pthread_self();
- printf( "Init: ID is 0x%08x\n", Init_id );
+ printf( "Init: ID is 0x%08" PRIxpthread_t "\n", Init_id );
/* exercise get minimum priority */
diff --git a/testsuites/psxtests/psx01/task.c b/testsuites/psxtests/psx01/task.c
index 5b8e3801b3..5943295411 100644
--- a/testsuites/psxtests/psx01/task.c
+++ b/testsuites/psxtests/psx01/task.c
@@ -48,7 +48,7 @@ void *Task_1_through_3(
/* get id of this thread */
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 );
/* exercise pthread_equal */