mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 13:15:54 +08:00
Use PRIdPriority_Control to print Priority_Control's.
This commit is contained in:
@@ -51,7 +51,7 @@ const char *CallerName(void)
|
||||
#else
|
||||
TempName.u = _Thread_Executing->Object.name.name_u32;
|
||||
#endif
|
||||
sprintf( buffer, "%c%c%c%c -- %d",
|
||||
sprintf( buffer, "%c%c%c%c -- %" PRIdPriority_Control,
|
||||
TempName.c[0], TempName.c[1], TempName.c[2], TempName.c[3],
|
||||
_Thread_Executing->current_priority
|
||||
);
|
||||
|
||||
@@ -93,7 +93,7 @@ const char *CallerName(void)
|
||||
#else
|
||||
TempName.u = (uint32_t) _Thread_Executing->Object.name.name_u32;
|
||||
#endif
|
||||
sprintf( buffer, "%c%c%c%c -- %d",
|
||||
sprintf( buffer, "%c%c%c%c -- %" PRIdPriority_Control,
|
||||
TempName.c[0], TempName.c[1], TempName.c[2], TempName.c[3],
|
||||
_Thread_Executing->current_priority
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user