xiaoxiang781216 commented on code in PR #8556:
URL: https://github.com/apache/nuttx/pull/8556#discussion_r1109577880


##########
sched/misc/assert.c:
##########
@@ -255,13 +271,29 @@ static void dump_task(FAR struct tcb_s *tcb, FAR void 
*arg)
 
   group_argvstr(tcb, args, sizeof(args));
 
+  /* get the task_state */
+
+  nxsched_get_stateinfo(tcb, state, sizeof(state));
+  if ((s = strchr(state, ',')) != NULL)
+    {
+      *s = '\0';
+      snprintf(str, sizeof(str), "%s  %s", state, s + 1);

Review Comment:
   one space is enough?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to