Changeset 01900b6 in mainline for uspace/srv/fs/tmpfs/tmpfs.c
- Timestamp:
- 2020-01-21T15:10:26Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 51da086
- Parents:
- f8fb03b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/tmpfs/tmpfs.c
rf8fb03b r01900b6 80 80 } 81 81 82 errno_t rc; 82 83 async_sess_t *vfs_sess = service_connect_blocking(SERVICE_VFS, 83 INTERFACE_VFS_DRIVER, 0 );84 INTERFACE_VFS_DRIVER, 0, &rc); 84 85 if (!vfs_sess) { 85 printf("%s: Unable to connect to VFS \n", NAME);86 printf("%s: Unable to connect to VFS: %s\n", NAME, str_error(rc)); 86 87 return -1; 87 88 } 88 89 89 errno_trc = fs_register(vfs_sess, &tmpfs_vfs_info, &tmpfs_ops,90 rc = fs_register(vfs_sess, &tmpfs_vfs_info, &tmpfs_ops, 90 91 &tmpfs_libfs_ops); 91 92 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.