Changes in uspace/lib/c/generic/vfs/vfs.c [f6bffee:8caaea7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/vfs/vfs.c
rf6bffee r8caaea7 378 378 379 379 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); 382 381 if (rc != EOK) { 383 382 vfs_exchange_end(vfs_phone); … … 408 407 409 408 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); 412 410 if (rc != EOK) { 413 411 vfs_exchange_end(vfs_phone); … … 758 756 { 759 757 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 764 763 if (!stat.device) 765 764 return -1;
Note:
See TracChangeset
for help on using the changeset viewer.