Subversion Repositories HelenOS

Rev

Rev 4474 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4474 Rev 4549
Line 191... Line 191...
191
   
191
   
192
    async_serialize_end();
192
    async_serialize_end();
193
   
193
   
194
    if (retval != EOK) {
194
    if (retval != EOK) {
195
        if (handle != NULL)
195
        if (handle != NULL)
196
            *handle = -1;
196
            *handle = (dev_handle_t) -1;
197
        return retval;
197
        return retval;
198
    }
198
    }
199
   
199
   
200
    if (handle != NULL)
200
    if (handle != NULL)
201
        *handle = (dev_handle_t) IPC_GET_ARG1(answer);
201
        *handle = (dev_handle_t) IPC_GET_ARG1(answer);