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/psx08/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/psxtests/psx08') diff --git a/testsuites/psxtests/psx08/init.c b/testsuites/psxtests/psx08/init.c index 9f0e2636d5..827014604d 100644 --- a/testsuites/psxtests/psx08/init.c +++ b/testsuites/psxtests/psx08/init.c @@ -29,7 +29,7 @@ void *POSIX_Init( /* get id of this thread */ Init_id = pthread_self(); - printf( "Init's ID is 0x%08x\n", Init_id ); + printf( "Init's ID is 0x%08" PRIxpthread_t "\n", Init_id ); puts( "Init: pthread_detach - ESRCH (invalid id)" ); status = pthread_detach( (pthread_t) -1 ); -- cgit v1.2.3