summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp34
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sp34')
-rw-r--r--testsuites/sptests/sp34/changepri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp34/changepri.c b/testsuites/sptests/sp34/changepri.c
index e950302330..71a16fdcff 100644
--- a/testsuites/sptests/sp34/changepri.c
+++ b/testsuites/sptests/sp34/changepri.c
@@ -10,7 +10,7 @@
/********************************************************************/
/* define this to use the RTEMS 4.5 scheme for object names */
-#define TEST_ON_RTEMS_45
+/* #define TEST_ON_RTEMS_45 */
/* define this to print the Id of the calling task */
/* #define TEST_ON_TASK_ID */
@@ -43,7 +43,7 @@ const char *CallerName()
#if defined(TEST_ON_RTEMS_45)
TempName.u = *(uint32_t *)_Thread_Executing->Object.name;
#else
- TempName.u = _Thread_Executing->Object.name;
+ TempName.u = _Thread_Executing->Object.name.name_u32;
#endif
sprintf( buffer, "%c%c%c%c -- %d",
TempName.c[0], TempName.c[1], TempName.c[2], TempName.c[3],