We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 713be7f commit cdb5ce8Copy full SHA for cdb5ce8
components/finsh/cmd.c
@@ -453,7 +453,7 @@ long list_mutex(void)
453
maxlen, RT_NAME_MAX,
454
m->parent.parent.name,
455
RT_NAME_MAX,
456
- m->owner->parent.name,
+ (m->owner == RT_NULL) ? "(null)" : m->owner->parent.name,
457
m->hold,
458
m->priority,
459
rt_list_len(&m->parent.suspend_thread));
@@ -466,7 +466,7 @@ long list_mutex(void)
466
467
468
469
470
471
472
0 commit comments