Changes in uspace/lib/c/generic/vfs/vfs.c [8caaea7:f6bffee] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/vfs/vfs.c
r8caaea7 rf6bffee 378 378 379 379 req = async_send_1(vfs_phone, VFS_IN_READ, fildes, &answer); 380 rc = async_data_read_start(vfs_phone, (void *)buf, nbyte); 380 rc = async_data_read_start_flexible(vfs_phone, (void *) buf, nbyte, 381 IPC_XF_RESTRICT); 381 382 if (rc != EOK) { 382 383 vfs_exchange_end(vfs_phone); … … 407 408 408 409 req = async_send_1(vfs_phone, VFS_IN_WRITE, fildes, &answer); 409 rc = async_data_write_start(vfs_phone, (void *)buf, nbyte); 410 rc = async_data_write_start_flexible(vfs_phone, (void *) buf, nbyte, 411 IPC_XF_RESTRICT); 410 412 if (rc != EOK) { 411 413 vfs_exchange_end(vfs_phone); … … 756 758 { 757 759 struct stat stat; 758 759 int rc = fstat(fildes, &stat); 760 if (rc != 0) 761 return rc; 762 760 int rc; 761 762 rc = fstat(fildes, &stat); 763 763 764 if (!stat.device) 764 765 return -1;
Note:
See TracChangeset
for help on using the changeset viewer.