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