Changes in uspace/srv/hid/fb/fb.c [faba839:a47f522] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/fb/fb.c

    rfaba839 ra47f522  
    305305       
    306306        int rc = async_share_out_finalize(callid, &frontbuf->data);
    307         if ((rc != EOK) || (frontbuf->data == AS_MAP_FAILED)) {
     307        if ((rc != EOK) || (frontbuf->data == (void *) -1)) {
    308308                free(frontbuf);
    309309                async_answer_0(iid, ENOMEM);
     
    348348       
    349349        int rc = async_share_out_finalize(callid, &imagemap->data);
    350         if ((rc != EOK) || (imagemap->data == AS_MAP_FAILED)) {
     350        if ((rc != EOK) || (imagemap->data == (void *) -1)) {
    351351                free(imagemap);
    352352                async_answer_0(iid, ENOMEM);
Note: See TracChangeset for help on using the changeset viewer.