Changes in uspace/srv/fs/fat/fat.c [1b20da0:a35b458] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat.c
r1b20da0 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.