diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-27 14:10:54 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-27 14:10:54 +0000 |
commit | 39615f481a74f1d4d612b734ea8a126e4e43b407 (patch) | |
tree | 7f2c2c7288bbbe738978a7082460ee50a9414f52 /testsuites/psxtests/psxalarm01 | |
parent | 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-39615f481a74f1d4d612b734ea8a126e4e43b407.tar.bz2 |
Use PRIxpthread_t to print pthread_t's.
Diffstat (limited to 'testsuites/psxtests/psxalarm01')
-rw-r--r-- | testsuites/psxtests/psxalarm01/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxalarm01/init.c b/testsuites/psxtests/psxalarm01/init.c index 8080d754e9..3f316d9db6 100644 --- a/testsuites/psxtests/psxalarm01/init.c +++ b/testsuites/psxtests/psxalarm01/init.c @@ -29,7 +29,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 @@ -45,7 +45,7 @@ void Signal_info_handler( { Signal_count++; printf( - "Signal_info: %d caught by 0x%x (%d) si_signo= %d si_code= %d value= %d\n", + "Signal_info: %d caught by 0x%" PRIxpthread_t " (%d) si_signo= %d si_code= %d value= %d\n", signo, pthread_self(), Signal_count, |