summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxkey01
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxkey01')
-rw-r--r--testsuites/psxtests/psxkey01/init.c2
-rw-r--r--testsuites/psxtests/psxkey01/task.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxkey01/init.c b/testsuites/psxtests/psxkey01/init.c
index e71ee612bf..1213ff582d 100644
--- a/testsuites/psxtests/psxkey01/init.c
+++ b/testsuites/psxtests/psxkey01/init.c
@@ -40,7 +40,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 );
Allocate_majority_of_workspace(84);
diff --git a/testsuites/psxtests/psxkey01/task.c b/testsuites/psxtests/psxkey01/task.c
index 00d9249ca3..9a81ec85a5 100644
--- a/testsuites/psxtests/psxkey01/task.c
+++ b/testsuites/psxtests/psxkey01/task.c
@@ -29,7 +29,7 @@ void *Task_1(
int status;
uint32_t *key_data;
- printf( "Thread 0x%08x\n", id );
+ printf( "Thread 0x%08" PRIxpthread_t "\n", id );
printf( "Task_1: Setting the key to %d\n", 1 );
status = pthread_setspecific( Key_id[0], (void *)&Data_array[ 1 ] );
if ( status )