Changes in uspace/srv/vfs/vfs.c [b7fd2a0:01c3bb4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs.c
rb7fd2a0 r01c3bb4 44 44 #include <async.h> 45 45 #include <errno.h> 46 #include <str_error.h>47 46 #include <stdio.h> 48 47 #include <stdbool.h> … … 88 87 int main(int argc, char **argv) 89 88 { 90 errno_t rc;89 int rc; 91 90 92 91 printf("%s: HelenOS VFS server\n", NAME); … … 123 122 port_id_t port; 124 123 rc = async_create_port(INTERFACE_PAGER, vfs_pager, NULL, &port); 125 if (rc != EOK) { 126 printf("%s: Cannot create pager port: %s\n", NAME, str_error(rc)); 124 if (rc != EOK) 127 125 return rc; 128 } 129 126 130 127 /* 131 128 * Set a connection handling function/fibril. … … 144 141 rc = service_register(SERVICE_VFS); 145 142 if (rc != EOK) { 146 printf("%s: Cannot register VFS service : %s\n", NAME, str_error(rc));143 printf("%s: Cannot register VFS service\n", NAME); 147 144 return rc; 148 145 }
Note:
See TracChangeset
for help on using the changeset viewer.