diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-20 21:52:24 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-20 21:52:24 +0000 |
commit | b5c6ecf7078d9aba8f6c54a1bbc501edf8291401 (patch) | |
tree | 6f85f83414f334829a7f215889f730ecb4b126ce /testsuites/sptests/sp35/priinv.c | |
parent | 2007-12-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-b5c6ecf7078d9aba8f6c54a1bbc501edf8291401.tar.bz2 |
2007-12-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp07/task1.c, sp34/changepri.c, sp35/priinv.c: Add rtems_task_self()
directive instead of violating RTEMS internals.
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; |