Subversion Repositories HelenOS

Rev

Rev 4389 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4389 Rev 4691
Line 246... Line 246...
246
    if (ta->kb.finished != false) {
246
    if (ta->kb.finished != false) {
247
        mutex_unlock(&ta->kb.cleanup_lock);
247
        mutex_unlock(&ta->kb.cleanup_lock);
248
        return EINVAL;
248
        return EINVAL;
249
    }
249
    }
250
 
250
 
251
    newphid = phone_alloc();
251
    newphid = phone_alloc(TASK);
252
    if (newphid < 0) {
252
    if (newphid < 0) {
253
        mutex_unlock(&ta->kb.cleanup_lock);
253
        mutex_unlock(&ta->kb.cleanup_lock);
254
        return ELIMIT;
254
        return ELIMIT;
255
    }
255
    }
256
 
256