From b5c6ecf7078d9aba8f6c54a1bbc501edf8291401 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 20 Dec 2007 21:52:24 +0000 Subject: 2007-12-20 Joel Sherrill * sp07/task1.c, sp34/changepri.c, sp35/priinv.c: Add rtems_task_self() directive instead of violating RTEMS internals. --- testsuites/sptests/sp34/changepri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/sptests/sp34') 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; -- cgit v1.2.3