summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp34
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-20 21:52:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-20 21:52:24 +0000
commitb5c6ecf7078d9aba8f6c54a1bbc501edf8291401 (patch)
tree6f85f83414f334829a7f215889f730ecb4b126ce /testsuites/sptests/sp34
parent2007-12-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-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/sp34')
-rw-r--r--testsuites/sptests/sp34/changepri.c2
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;