diff options
Diffstat (limited to 'testsuites/sptests/sp34')
-rw-r--r-- | testsuites/sptests/sp34/changepri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/sp34/changepri.c b/testsuites/sptests/sp34/changepri.c index 967c4efbe5..e950302330 100644 --- a/testsuites/sptests/sp34/changepri.c +++ b/testsuites/sptests/sp34/changepri.c @@ -33,7 +33,7 @@ const char *CallerName() static char buffer[32]; #if defined(TEST_PRINT_TASK_ID) sprintf( buffer, "0x%08x -- %d", - _Thread_Executing->Object.id, _Thread_Executing->current_priority ); + rtems_task_self(), _Thread_Executing->current_priority ); #else union { uint32_t u; |