Changes in uspace/lib/c/generic/vfs/vfs.c [8e80d3f:89e780d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/vfs/vfs.c
r8e80d3f r89e780d 378 378 379 379 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); 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_generic(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 761 int rc = fstat(fildes, &stat); 762 if (rc != 0) 763 return rc; 764 758 int rc; 759 760 rc = fstat(fildes, &stat); 761 765 762 if (!stat.device) 766 763 return -1;
Note:
See TracChangeset
for help on using the changeset viewer.