From: Michael Jeanson Date: Fri, 16 Jun 2017 18:09:21 +0000 (-0400) Subject: Typo: occured -> occurred X-Git-Tag: v2.11.0-rc1~518 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4149ace8fa7c7a8da39272f03923df46039c5ff6;p=lttng-tools.git Typo: occured -> occurred Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/include/lttng/notification/channel-internal.h b/include/lttng/notification/channel-internal.h index efe502fe4..0779d7337 100644 --- a/include/lttng/notification/channel-internal.h +++ b/include/lttng/notification/channel-internal.h @@ -70,7 +70,7 @@ struct pending_notification { * - Synchronous: commands emitted by the client to which a reply is expected * (e.g. subscribing/unsubscribing to conditions), * - Asynchronous: notifications which are sent by the lttng_endpoint to the - * client as one of the subscribed condition has occured. + * client as one of the subscribed condition has occurred. * * The nature of this hybrid communication mode means that asynchronous messages * (e.g. notifications) may be interleaved between synchronous messages (e.g. a diff --git a/src/bin/lttng-sessiond/notification-thread-events.c b/src/bin/lttng-sessiond/notification-thread-events.c index ab1224a46..751e665bd 100644 --- a/src/bin/lttng-sessiond/notification-thread-events.c +++ b/src/bin/lttng-sessiond/notification-thread-events.c @@ -1368,7 +1368,7 @@ int handle_notification_thread_client_disconnect_all( int handle_notification_thread_trigger_unregister_all( struct notification_thread_state *state) { - bool error_occured = false; + bool error_occurred = false; struct cds_lfht_iter iter; struct lttng_trigger_ht_element *trigger_ht_element; @@ -1377,10 +1377,10 @@ int handle_notification_thread_trigger_unregister_all( int ret = handle_notification_thread_command_unregister_trigger( state, trigger_ht_element->trigger, NULL); if (ret) { - error_occured = true; + error_occurred = true; } } - return error_occured ? -1 : 0; + return error_occurred ? -1 : 0; } static diff --git a/src/bin/lttng-sessiond/notification-thread.c b/src/bin/lttng-sessiond/notification-thread.c index 7bd65361a..c652b6ee8 100644 --- a/src/bin/lttng-sessiond/notification-thread.c +++ b/src/bin/lttng-sessiond/notification-thread.c @@ -569,7 +569,7 @@ int handle_channel_monitoring_pipe(int fd, uint32_t revents, ret = handle_notification_thread_channel_sample( state, fd, domain); if (ret) { - ERR("[notification-thread] Consumer sample handling error occured"); + ERR("[notification-thread] Consumer sample handling error occurred"); ret = -1; goto end; }