Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2017-12-19T18:07:28Z (4 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master
Children:
897fd8f1
Parents:
219c530
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-19 17:08:09)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-19 18:07:28)
Message:

Numerous minor error code tweaks in kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/udebug/udebug_ipc.c

    r219c530 r7f11dc6  
    137137
    138138        rc = udebug_go(t, call);
    139         if (rc < 0) {
     139        if (rc != EOK) {
    140140                IPC_SET_RETVAL(call->data, rc);
    141141                ipc_answer(&TASK->kb.box, call);
     
    182182         */
    183183        rc = udebug_thread_read(&buffer, buf_size, &copied, &needed);
    184         if (rc < 0) {
     184        if (rc != EOK) {
    185185                IPC_SET_RETVAL(call->data, rc);
    186186                ipc_answer(&TASK->kb.box, call);
     
    351351
    352352        rc = udebug_regs_read(t, &buffer);
    353         if (rc < 0) {
     353        if (rc != EOK) {
    354354                IPC_SET_RETVAL(call->data, rc);
    355355                ipc_answer(&TASK->kb.box, call);
     
    397397
    398398        rc = udebug_mem_read(uspace_src, size, &buffer);
    399         if (rc < 0) {
     399        if (rc != EOK) {
    400400                IPC_SET_RETVAL(call->data, rc);
    401401                ipc_answer(&TASK->kb.box, call);
Note: See TracChangeset for help on using the changeset viewer.