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/psx10/task2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/psxtests/psx10/task2.c') 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 ); -- cgit v1.2.3