Add and use THREAD_DEFAULT_MAXIMUM_NAME_SIZE

This commit is contained in:
Sebastian Huber
2019-07-30 06:24:00 +02:00
parent 5a678de90c
commit 5ee70c5487
4 changed files with 12 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ void bsp_fatal_extension(
executing = _Thread_Get_executing();
if ( executing != NULL ) {
char name[ 32 ];
char name[ 2 * THREAD_DEFAULT_MAXIMUM_NAME_SIZE ];
_Thread_Get_name( executing, name, sizeof( name ) );
printk(