ret = evaluate_condition(condition, &evaluation, state, NULL,
last_sample, channel_info->capacity);
if (ret) {
- WARN("[notification-thread] Fatal error occured while evaluating a newly subscribed-to condition");
+ WARN("[notification-thread] Fatal error occurred while evaluating a newly subscribed-to condition");
goto end;
}
struct notification_thread_command *cmd;
/* Read event_fd to put it back into a quiescent state. */
- ret = read(handle->cmd_queue.event_fd, &counter, sizeof(counter));
+ ret = read(lttng_pipe_get_readfd(handle->cmd_queue.event_pipe), &counter, sizeof(counter));
if (ret == -1) {
goto error;
}