Changes in uspace/srv/logger/main.c [b7fd2a0:38d150e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/logger/main.c
rb7fd2a0 r38d150e 70 70 71 71 port_id_t port; 72 errno_t rc = async_create_port(INTERFACE_LOGGER_CONTROL,72 int rc = async_create_port(INTERFACE_LOGGER_CONTROL, 73 73 connection_handler_control, NULL, &port); 74 if (rc != EOK) { 75 printf("%s: Error while creating control port: %s\n", NAME, str_error(rc)); 74 if (rc != EOK) 76 75 return rc; 77 }78 76 79 77 rc = async_create_port(INTERFACE_LOGGER_WRITER, 80 78 connection_handler_writer, NULL, &port); 81 if (rc != EOK) { 82 printf("%s: Error while creating writer port: %s\n", NAME, str_error(rc)); 79 if (rc != EOK) 83 80 return rc; 84 }85 81 86 82 rc = service_register(SERVICE_LOGGER);
Note:
See TracChangeset
for help on using the changeset viewer.