Skip to content

Commit daf3b4e

Browse files
KurngsyCopilot
andauthored
Update src/thread.c
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent bf41b81 commit daf3b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ rt_err_t rt_thread_suspend_to_list(rt_thread_t thread, rt_list_t *susp_list, int
969969
}
970970
else if ((stat != RT_THREAD_READY) && (stat != RT_THREAD_RUNNING))
971971
{
972-
LOG_W("thread suspend: thread disorder, 0x%02x" RT_SCHED_CTX(thread).stat);
972+
LOG_W("thread suspend: thread disorder, 0x%02x", RT_SCHED_CTX(thread).stat);
973973
rt_sched_unlock(slvl);
974974
return -RT_ERROR;
975975
}

0 commit comments

Comments
 (0)