Changes in uspace/srv/logger/writer.c [4c6de4f:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/logger/writer.c
r4c6de4f rb7fd2a0 53 53 { 54 54 void *name; 55 int rc = async_data_write_accept(&name, true, 1, 0, 0, NULL);55 errno_t rc = async_data_write_accept(&name, true, 1, 0, 0, NULL); 56 56 if (rc != EOK) 57 57 return NULL; … … 64 64 } 65 65 66 static int handle_receive_message(sysarg_t log_id, sysarg_t level)66 static errno_t handle_receive_message(sysarg_t log_id, sysarg_t level) 67 67 { 68 68 logger_log_t *log = find_log_by_id_and_lock(log_id); … … 71 71 72 72 void *message = NULL; 73 int rc = async_data_write_accept(&message, true, 1, 0, 0, NULL);73 errno_t rc = async_data_write_accept(&message, true, 1, 0, 0, NULL); 74 74 if (rc != EOK) 75 75 goto leave; … … 128 128 } 129 129 case LOGGER_WRITER_MESSAGE: { 130 int rc = handle_receive_message(IPC_GET_ARG1(call),130 errno_t rc = handle_receive_message(IPC_GET_ARG1(call), 131 131 IPC_GET_ARG2(call)); 132 132 async_answer_0(callid, rc);
Note:
See TracChangeset
for help on using the changeset viewer.