Typo: occured -> occurred
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 18 Oct 2019 21:40:06 +0000 (17:40 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 19 Oct 2019 03:24:53 +0000 (23:24 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/session.h
src/bin/lttng-sessiond/cmd.c
src/bin/lttng-sessiond/rotation-thread.c
src/bin/lttng-sessiond/session.c

index 7e328b625f29ffcef9faf6fbcdc1172a83f45805..9b2d7eb414a8500ff7319f1f79164125f4c289d7 100644 (file)
@@ -163,7 +163,7 @@ extern int lttng_destroy_session(const char *name);
  * an lttng_destruction_handle which can be used to wait for the completion
  * of the session's destruction. The lttng_destroy_handle can also be used
  * obtain the status and archive location of any implicit session
- * rotation that may have occured during the session's destruction.
+ * rotation that may have occurred during the session's destruction.
  *
  * Returns LTTNG_OK on success. The returned handle is owned by the caller
  * and must be free'd using lttng_destruction_handle_destroy().
index 71c0789b3421c5ff4ef9bfc0fa8de354b9104f61..a164cffc0fcd8b049f6ea63dcb19fa4a02707933 100644 (file)
@@ -4983,7 +4983,7 @@ int cmd_rotate_get_info(struct ltt_session *session,
 
        switch (rotation_state) {
        case LTTNG_ROTATION_STATE_NO_ROTATION:
-               DBG("Reporting that no rotation has occured within the lifetime of session \"%s\"",
+               DBG("Reporting that no rotation has occurred within the lifetime of session \"%s\"",
                                session->name);
                goto end;
        case LTTNG_ROTATION_STATE_EXPIRED:
index d12bd9d0150cf1b998ba6bde49343f31f17c78e4..791b0425ffc03d0246df18bd3f441a61de07a376 100644 (file)
@@ -385,7 +385,7 @@ void check_session_rotation_pending_on_consumers(struct ltt_session *session,
                                &exists_status);
                if (ret) {
                        pthread_mutex_unlock(socket->lock);
-                       ERR("Error occured while checking rotation status on consumer daemon");
+                       ERR("Error occurred while checking rotation status on consumer daemon");
                        goto end;
                }
 
@@ -414,7 +414,7 @@ skip_ust:
                                &exists_status);
                if (ret) {
                        pthread_mutex_unlock(socket->lock);
-                       ERR("Error occured while checking rotation status on consumer daemon");
+                       ERR("Error occurred while checking rotation status on consumer daemon");
                        goto end;
                }
 
index 7fd4332ec12d3bb9f1c9643275c16d1769ecb0cc..383c6fde714c229f5adccd5c2abcf8c3c1fd5211 100644 (file)
@@ -1163,7 +1163,7 @@ int session_access_ok(struct ltt_session *session, uid_t uid, gid_t gid)
  *
  * Be careful of the result passed to this function. For instance,
  * on failure to launch a rotation, a client will expect the rotation
- * state to be set to "NO_ROTATION". If an error occured while the
+ * state to be set to "NO_ROTATION". If an error occurred while the
  * rotation was "ONGOING", result should be set to "ERROR", which will
  * allow a client to report it.
  *
This page took 0.039493 seconds and 4 git commands to generate.