Changeset 475fe35 in mainline for uspace/srv/ns/task.c


Ignore:
Timestamp:
2010-11-24T19:03:44Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cb819f9
Parents:
85369b1
Message:

Fix ns crash in wait_for_task() when waiting for a non-existing task ID.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/task.c

    r85369b1 r475fe35  
    262262        if (ht == NULL) {
    263263                /* No such task exists. */
    264                 retval = ENOENT;
    265                 goto out;
     264                ipc_answer_0(callid, ENOENT);
     265                return;
    266266        }
    267267
Note: See TracChangeset for help on using the changeset viewer.