Changeset a46e56b in mainline for uspace/lib/c/generic/vfs/vfs.c


Ignore:
Timestamp:
2018-03-22T06:49:35Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
77f0a1d
Parents:
3e242d2
git-author:
Jakub Jermar <jakub@…> (2018-03-21 23:29:06)
git-committer:
Jakub Jermar <jakub@…> (2018-03-22 06:49:35)
Message:

Prefer handle over ID in naming handle variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/vfs/vfs.c

    r3e242d2 ra46e56b  
    802802errno_t vfs_receive_handle(bool high, int *handle)
    803803{
    804         cap_call_handle_t callid;
    805         if (!async_state_change_receive(&callid, NULL, NULL, NULL)) {
    806                 async_answer_0(callid, EINVAL);
     804        cap_call_handle_t chandle;
     805        if (!async_state_change_receive(&chandle, NULL, NULL, NULL)) {
     806                async_answer_0(chandle, EINVAL);
    807807                return EINVAL;
    808808        }
     
    810810        async_exch_t *vfs_exch = vfs_exchange_begin();
    811811
    812         async_state_change_finalize(callid, vfs_exch);
     812        async_state_change_finalize(chandle, vfs_exch);
    813813
    814814        sysarg_t ret;
Note: See TracChangeset for help on using the changeset viewer.