Ignore:
File:
1 edited

Legend:

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

    r64d2b10 ra28ab12  
    11/*
    2  * Copyright (c) 2008 Jakub Jermar
     2 * Copyright (c) 2008 Jakub Jermar 
    33 * All rights reserved.
    44 *
     
    4343#include <sys/stat.h>
    4444#include <sys/types.h>
     45#include <ipc/ipc.h>
    4546#include <ipc/services.h>
    46 #include <ipc/ns.h>
    4747#include <async.h>
    4848#include <fibril_synch.h>
     
    118118static void vfs_connect(void)
    119119{
    120         while (vfs_phone < 0)
    121                 vfs_phone = service_connect_blocking(SERVICE_VFS, 0, 0);
     120        while (vfs_phone < 0) {
     121                vfs_phone = async_connect_me_to_blocking(PHONE_NS, SERVICE_VFS,
     122                    0, 0);
     123        }
    122124       
    123125        async_session_create(&vfs_session, vfs_phone, 0);
Note: See TracChangeset for help on using the changeset viewer.