From 85e39881330eaaaa253830ce1151b332961e6370 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20H=C3=BC=C3=9Fler?= Date: Thu, 19 Oct 2023 17:56:40 +0200 Subject: [PATCH] core/msg: better DEBUG() in queue_msg --- core/msg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/msg.c b/core/msg.c index 91919442f3..13d2b4eece 100644 --- a/core/msg.c +++ b/core/msg.c @@ -46,7 +46,8 @@ static int queue_msg(thread_t *target, const msg_t *m) int n = cib_put(&(target->msg_queue)); if (n < 0) { - DEBUG("queue_msg(): message queue is full (or there is none)\n"); + DEBUG("queue_msg(): message queue of thread %" PRIkernel_pid + " is full (or there is none)\n", target->pid); return 0; }