Changeset 9ab2714 in mainline


Ignore:
Timestamp:
2012-09-17T13:58:42Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ce1df04
Parents:
619e6d56
Message:

Just answer the message with an error code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_clock_dev.c

    r619e6d56 r9ab2714  
    8585        if (!clock_dev_ops->time_get) {
    8686                /* The driver does not provide the time_get() functionality */
    87                 async_data_read_finalize(cid, NULL, 0);
     87                async_answer_0(cid, ENOTSUP);
    8888                async_answer_0(callid, ENOTSUP);
    8989                return;
     
    9494        if (rc != EOK) {
    9595                /* Some error occurred */
    96                 async_data_read_finalize(cid, NULL, 0);
     96                async_answer_0(cid, rc);
    9797                async_answer_0(callid, rc);
    9898                return;
Note: See TracChangeset for help on using the changeset viewer.