summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx03
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/psx03
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/psx03')
-rw-r--r--testsuites/psxtests/psx03/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx03/init.c b/testsuites/psxtests/psx03/init.c
index 628bdd8010..40d09fb73a 100644
--- a/testsuites/psxtests/psx03/init.c
+++ b/testsuites/psxtests/psx03/init.c
@@ -24,7 +24,7 @@ void Signal_handler(
{
Signal_count++;
printf(
- "Signal: %d caught by 0x%x (%d)\n",
+ "Signal: %d caught by 0x%" PRIxpthread_t " (%d)\n",
signo,
pthread_self(),
Signal_count
@@ -53,7 +53,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 );
/* install a signal handler */