From 39615f481a74f1d4d612b734ea8a126e4e43b407 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 27 Oct 2009 14:10:54 +0000 Subject: Use PRIxpthread_t to print pthread_t's. --- testsuites/psxtests/psx01/init.c | 2 +- testsuites/psxtests/psx01/task.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psx01') 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 */ -- cgit v1.2.3