summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp35/priinv.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sp35/priinv.c')
-rw-r--r--testsuites/sptests/sp35/priinv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/sp35/priinv.c b/testsuites/sptests/sp35/priinv.c
index 8d97f228ee..0f1ef6fc3d 100644
--- a/testsuites/sptests/sp35/priinv.c
+++ b/testsuites/sptests/sp35/priinv.c
@@ -84,7 +84,7 @@ const char *CallerName()
#if defined(TEST_ON_RTEMS_45)
TempName.u = *(uint32_t *)_Thread_Executing->Object.name;
#else
- TempName.u = (uint32_t) _Thread_Executing->Object.name;
+ TempName.u = (uint32_t) _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],