Changeset 8013637 in mainline for uspace/srv/bd/rd/rd.c


Ignore:
Timestamp:
2012-07-20T13:51:28Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8fccd42
Parents:
c5bff3c (diff), 7030bc9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

More mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/rd/rd.c

    rc5bff3c r8013637  
    106106        if (async_share_out_receive(&callid, &comm_size, &flags)) {
    107107                (void) async_share_out_finalize(callid, &fs_va);
    108                 if (fs_va == (void *) -1) {
     108                if (fs_va == AS_MAP_FAILED) {
    109109                        async_answer_0(callid, EHANGUP);
    110110                        return;
     
    237237        async_set_client_connection(rd_connection);
    238238        ret = loc_server_register(NAME);
    239         if (ret < 0) {
     239        if (ret != EOK) {
    240240                printf("%s: Unable to register driver (%d)\n", NAME, ret);
    241241                return false;
Note: See TracChangeset for help on using the changeset viewer.