Changeset 8565a42 in mainline for uspace/srv/fs/fat/fat.c
- Timestamp:
- 2018-03-02T20:34:50Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a1a81f69, d5e5fd1
- Parents:
- 3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
- git-committer:
- GitHub <noreply@…> (2018-03-02 20:34:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat.c
r3061bc1 r8565a42 62 62 { 63 63 printf(NAME ": HelenOS FAT file system server\n"); 64 64 65 65 if (argc == 3) { 66 66 if (!str_cmp(argv[1], "--instance")) … … 75 75 if (rc != EOK) 76 76 goto err; 77 77 78 78 async_sess_t *vfs_sess = service_connect_blocking(SERVICE_VFS, 79 79 INTERFACE_VFS_DRIVER, 0); … … 82 82 return -1; 83 83 } 84 84 85 85 rc = fs_register(vfs_sess, &fat_vfs_info, &fat_ops, &fat_libfs_ops); 86 86 if (rc != EOK) { … … 88 88 goto err; 89 89 } 90 90 91 91 printf(NAME ": Accepting connections\n"); 92 92 task_retval(0); 93 93 async_manager(); 94 94 95 95 /* Not reached */ 96 96 return 0; 97 97 98 98 err: 99 99 printf(NAME ": Failed to register file system: %s\n", str_error(rc));
Note:
See TracChangeset
for help on using the changeset viewer.