diff options
Diffstat (limited to 'testsuites/sptests/sp35/priinv.c')
-rw-r--r-- | testsuites/sptests/sp35/priinv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/sp35/priinv.c b/testsuites/sptests/sp35/priinv.c index 192829db88..8d97f228ee 100644 --- a/testsuites/sptests/sp35/priinv.c +++ b/testsuites/sptests/sp35/priinv.c @@ -74,7 +74,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; |