Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 1839 → Rev 1838

/trunk/kernel/generic/src/ddi/ddi.c
129,11 → 129,9
t = task_find_by_id(id);
if ((!t) || (!context_check(CONTEXT, t->context))) {
if (!t) {
/*
* There is no task with the specified ID
* or the task belongs to a different security
* context.
* There is no task with the specified ID.
*/
spinlock_unlock(&tasks_lock);
interrupts_restore(ipl);