diff --git a/core/sched.c b/core/sched.c index a5a8d38fb5..3d69cde424 100644 --- a/core/sched.c +++ b/core/sched.c @@ -170,7 +170,7 @@ void sched_set_status(thread_t *process, thread_state_t status) } else { if (process->status >= STATUS_ON_RUNQUEUE) { - DEBUG("sched_set_status: removing thread %" PRIkernel_pid " to runqueue %" PRIu8 ".\n", + DEBUG("sched_set_status: removing thread %" PRIkernel_pid " from runqueue %" PRIu8 ".\n", process->pid, process->priority); clist_lpop(&sched_runqueues[process->priority]);