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:
parent
5aa3baac8c
commit
85e3988133
@ -46,7 +46,8 @@ static int queue_msg(thread_t *target, const msg_t *m)
|
|||||||
int n = cib_put(&(target->msg_queue));
|
int n = cib_put(&(target->msg_queue));
|
||||||
|
|
||||||
if (n < 0) {
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user