Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_register.c

    r8a637a4 r3e6a98c5  
    113113void vfs_register(ipc_callid_t rid, ipc_call_t *request)
    114114{
    115         dprintf("Processing VFS_REGISTER request received from %zx.\n",
     115        dprintf("Processing VFS_REGISTER request received from %p.\n",
    116116            request->in_phone_hash);
    117117       
     
    162162                fibril_mutex_unlock(&fs_list_lock);
    163163                free(fs_info);
    164                 async_answer_0(rid, EEXIST);
     164                async_answer_0(rid, EEXISTS);
    165165                return;
    166166        }
     
    196196        ipc_callid_t callid;
    197197        if (!async_share_in_receive(&callid, &size)) {
    198                 dprintf("Unexpected call\n");
     198                dprintf("Unexpected call, method = %d\n", IPC_GET_IMETHOD(call));
    199199                list_remove(&fs_info->fs_link);
    200200                fibril_mutex_unlock(&fs_list_lock);
     
    210210         */
    211211        if (size != PLB_SIZE) {
    212                 dprintf("Client suggests wrong size of PFB, size = %zu\n", size);
     212                dprintf("Client suggests wrong size of PFB, size = %d\n", size);
    213213                list_remove(&fs_info->fs_link);
    214214                fibril_mutex_unlock(&fs_list_lock);
     
    260260        fibril_mutex_lock(&fs_list_lock);
    261261       
    262         list_foreach(fs_list, fs_link, fs_info_t, fs) {
     262        list_foreach(fs_list, cur) {
     263                fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link);
     264               
    263265                if (fs->fs_handle == handle) {
    264266                        fibril_mutex_unlock(&fs_list_lock);
     
    303305                fibril_mutex_lock(&fs_list_lock);
    304306       
    305         list_foreach(fs_list, fs_link, fs_info_t, fs) {
     307        list_foreach(fs_list, cur) {
     308                fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link);
    306309                if (str_cmp(fs->vfs_info.name, name) == 0 &&
    307310                    instance == fs->vfs_info.instance) {
     
    329332       
    330333        fibril_mutex_lock(&fs_list_lock);
    331         list_foreach(fs_list, fs_link, fs_info_t, fs) {
     334        list_foreach(fs_list, cur) {
     335                fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link);
    332336                if (fs->fs_handle == handle) {
    333337                        info = &fs->vfs_info;
Note: See TracChangeset for help on using the changeset viewer.