Ignore:
File:
1 edited

Legend:

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

    rf6bffee r8caaea7  
    378378       
    379379        req = async_send_1(vfs_phone, VFS_IN_READ, fildes, &answer);
    380         rc = async_data_read_start_flexible(vfs_phone, (void *) buf, nbyte,
    381             IPC_XF_RESTRICT);
     380        rc = async_data_read_start(vfs_phone, (void *)buf, nbyte);
    382381        if (rc != EOK) {
    383382                vfs_exchange_end(vfs_phone);
     
    408407       
    409408        req = async_send_1(vfs_phone, VFS_IN_WRITE, fildes, &answer);
    410         rc = async_data_write_start_flexible(vfs_phone, (void *) buf, nbyte,
    411             IPC_XF_RESTRICT);
     409        rc = async_data_write_start(vfs_phone, (void *)buf, nbyte);
    412410        if (rc != EOK) {
    413411                vfs_exchange_end(vfs_phone);
     
    758756{
    759757        struct stat stat;
    760         int rc;
    761 
    762         rc = fstat(fildes, &stat);
    763 
     758       
     759        int rc = fstat(fildes, &stat);
     760        if (rc != 0)
     761                return rc;
     762       
    764763        if (!stat.device)
    765764                return -1;
Note: See TracChangeset for help on using the changeset viewer.