Ignore:
Timestamp:
Oct 27, 2009, 2:10:54 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
e1a7627
Parents:
749eae9
Message:

Use PRIxpthread_t to print pthread_t's.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/psxsignal01/init.c

    r749eae9 r39615f4  
    2727  Signal_count++;
    2828  printf(
    29     "Handler_1: Signal: %d caught by 0x%x (%d)\n",
     29    "Handler_1: Signal: %d caught by 0x%" PRIxpthread_t " (%d)\n",
    3030    signo,
    3131    pthread_self(),
     
    4141  Signal_count++;
    4242  printf(
    43     "Signal: %d caught by 0x%x (%d)\n",
     43    "Signal: %d caught by 0x%"PRIxpthread_t " (%d)\n",
    4444    signo,
    4545    pthread_self(),
     
    5757  Signal_count++;
    5858  printf(
    59     "Signal_info: %d caught by 0x%x (%d) si_signo= %d si_code= %d value= %d\n",
     59    "Signal_info: %d caught by 0x%" PRIxpthread_t " (%d) si_signo= %d si_code= %d value= %d\n",
    6060    signo,
    6161    pthread_self(),
     
    9898
    9999  Init_id = pthread_self();
    100   printf( "Init's ID is 0x%08x\n", Init_id );
     100  printf( "Init's ID is 0x%08" PRIxpthread_t "\n", Init_id );
    101101
    102102  Signal_occurred = 0;
Note: See TracChangeset for help on using the changeset viewer.