1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

core/msg: better DEBUG() in queue_msg

This commit is contained in:
Fabian Hüßler 2023-10-19 17:56:40 +02:00
parent 5aa3baac8c
commit 85e3988133

View File

@ -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;
}