Changeset a32c9bb in mainline for uspace/srv/fs/fat/fat.c


Ignore:
Timestamp:
2009-03-02T17:33:47Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1fcfc94
Parents:
13ec8055
Message:

blocking connection to VFS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat.c

    r13ec8055 ra32c9bb  
    129129                goto err;
    130130
    131         vfs_phone = ipc_connect_me_to(PHONE_NS, SERVICE_VFS, 0, 0);
    132         while (vfs_phone < EOK) {
    133                 usleep(10000);
    134                 vfs_phone = ipc_connect_me_to(PHONE_NS, SERVICE_VFS, 0, 0);
     131        vfs_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_VFS, 0, 0);
     132        if (vfs_phone < EOK) {
     133                printf("fat: failed to connect to VFS\n");
     134                return -1;
    135135        }
    136136       
Note: See TracChangeset for help on using the changeset viewer.