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


Ignore:
Timestamp:
2012-07-10T11:53:50Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1e01a35
Parents:
a33706e (diff), 33fc3ae (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:

Merge mainline changes

File:
1 edited

Legend:

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

    ra33706e rb4ca0a9c  
    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.