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