Ignore:
File:
1 edited

Legend:

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

    r8e80d3f r89e780d  
    378378       
    379379        req = async_send_1(vfs_phone, VFS_IN_READ, fildes, &answer);
    380         rc = async_data_read_start_generic(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_generic(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        
    761         int rc = fstat(fildes, &stat);
    762         if (rc != 0)
    763                 return rc;
    764        
     758        int rc;
     759
     760        rc = fstat(fildes, &stat);
     761
    765762        if (!stat.device)
    766763                return -1;
Note: See TracChangeset for help on using the changeset viewer.