Changeset a35b458 in mainline for uspace/srv/fs/fat/fat.c
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat.c
r3061bc1 ra35b458 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.