mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
testsuites/psxtests/psx06: Fix printing format error
This commit is contained in:
@@ -118,7 +118,7 @@ void *POSIX_Init(
|
||||
/* switch to task 1 */
|
||||
|
||||
key_data = pthread_getspecific( Key_id );
|
||||
printf( "Init: Got the key value of %ld\n",
|
||||
printf( "Init: Got the key value of %lu\n",
|
||||
(unsigned long) ((uint32_t *)key_data - Data_array) );
|
||||
|
||||
remaining = sleep( 3 );
|
||||
|
||||
@@ -56,7 +56,7 @@ void *Task_1(
|
||||
rtems_test_assert( !status );
|
||||
|
||||
key_data = pthread_getspecific( Key_id );
|
||||
printf( "Task_1: Got the key value of %ld\n",
|
||||
printf( "Task_1: Got the key value of %lu\n",
|
||||
(unsigned long) ((uint32_t *)key_data - Data_array) );
|
||||
if ( status )
|
||||
printf( "status = %d\n", status );
|
||||
|
||||
@@ -57,7 +57,7 @@ void *Task_2(
|
||||
rtems_test_assert( !status );
|
||||
|
||||
key_data = pthread_getspecific( Key_id );
|
||||
printf( "Task_2: Got the key value of %ld\n",
|
||||
printf( "Task_2: Got the key value of %lu\n",
|
||||
(unsigned long) ((uint32_t *)key_data - Data_array) );
|
||||
if ( status )
|
||||
printf( "status = %d\n", status );
|
||||
|
||||
Reference in New Issue
Block a user