Typo: occured -> occurred
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 16 Jun 2017 18:09:21 +0000 (14:09 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 21 Jun 2017 12:26:43 +0000 (08:26 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/notification/channel-internal.h
src/bin/lttng-sessiond/notification-thread-events.c
src/bin/lttng-sessiond/notification-thread.c

index efe502fe4f284a4830426ebe5250e71c217882ea..0779d73371bbd9158768bcaebfc0f664e0c1a4cc 100644 (file)
@@ -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
index ab1224a46eadee7c722d810b220f5e0e77ec088f..751e665bdc624936a8401fd307ae75ff93656978 100644 (file)
@@ -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
index 7bd65361a25a7b97063305ca8eec2e0b6551abbf..c652b6ee8417563c7c45cfec188770af6d2ce94c 100644 (file)
@@ -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;
        }
This page took 0.027852 seconds and 4 git commands to generate.