Changeset 01900b6 in mainline for uspace/srv/fs/ext4fs/ext4fs.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/ext4fs/ext4fs.c
rf8fb03b r01900b6 43 43 #include <ipc/services.h> 44 44 #include <str.h> 45 #include <str_error.h> 45 46 #include "ext4/ops.h" 46 47 #include "../../vfs/vfs.h" … … 66 67 } 67 68 69 errno_t rc; 68 70 async_sess_t *vfs_sess = service_connect_blocking(SERVICE_VFS, 69 INTERFACE_VFS_DRIVER, 0 );71 INTERFACE_VFS_DRIVER, 0, &rc); 70 72 if (!vfs_sess) { 71 printf("%s: Failed to connect to VFS \n", NAME);73 printf("%s: Failed to connect to VFS: %s\n", NAME, str_error(rc)); 72 74 return 2; 73 75 } 74 76 75 errno_trc = ext4_global_init();77 rc = ext4_global_init(); 76 78 if (rc != EOK) { 77 printf("%s: Global initialization failed\n", NAME); 79 printf("%s: Global initialization failed: %s\n", NAME, 80 str_error(rc)); 78 81 return rc; 79 82 } … … 82 85 &ext4_libfs_ops); 83 86 if (rc != EOK) { 84 printf("%s: Failed to register file system\n", NAME); 87 printf("%s: Failed to register file system: %s\n", NAME, 88 str_error(rc)); 85 89 return rc; 86 90 }
Note:
See TracChangeset
for help on using the changeset viewer.