From c700d0439efa4006c2e7d9faa8e2cb174bcbbd93 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Thu, 7 Feb 2019 21:35:48 +0100 Subject: [PATCH] sys/ps: Fixed stringification Added missing string for STATUS_COND_BLOCKED, so that the shell command "ps" no longer crashes when a thread has this state. --- sys/ps/ps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/ps/ps.c b/sys/ps/ps.c index 5a1ccd6f28d1..4da82ea97e91 100644 --- a/sys/ps/ps.c +++ b/sys/ps/ps.c @@ -40,6 +40,7 @@ static const char *state_names[] = { [STATUS_FLAG_BLOCKED_ANY] = "bl anyfl", [STATUS_FLAG_BLOCKED_ALL] = "bl allfl", [STATUS_MBOX_BLOCKED] = "bl mbox", + [STATUS_COND_BLOCKED] = "bl cond", }; /**