File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,12 @@ static rt_err_t thread_print_(rt_object_t object, void *data)
7676#ifdef RT_USING_SMP
7777 /* no synchronization applied since it's only for debug */
7878 if (RT_SCHED_CTX (thread ).oncpu != RT_CPU_DETACHED )
79- rt_kprintf ("%-*.*s %3d %3d %4d " , maxlen , RT_NAME_MAX ,
79+ rt_kprintf ("%-*.*s %3d %3d %4d " , RT_NAME_MAX , RT_NAME_MAX ,
8080 thread -> parent .name , RT_SCHED_CTX (thread ).oncpu ,
8181 RT_SCHED_CTX (thread ).bind_cpu ,
8282 RT_SCHED_PRIV (thread ).current_priority );
8383 else
84- rt_kprintf ("%-*.*s N/A %3d %4d " , maxlen , RT_NAME_MAX ,
84+ rt_kprintf ("%-*.*s N/A %3d %4d " , RT_NAME_MAX , RT_NAME_MAX ,
8585 thread -> parent .name ,
8686 RT_SCHED_CTX (thread ).bind_cpu ,
8787 RT_SCHED_PRIV (thread ).current_priority );
You can’t perform that action at this time.
0 commit comments