From 1a29977872e79eca9312cc8d410cf33f433e521b Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Mon, 25 Oct 2021 11:32:24 -0400 Subject: [PATCH] Typo: occurences -> occurrences MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Francis Deslauriers Signed-off-by: Jérémie Galarneau Change-Id: I719e26febd639f3b047b6aa6361fc6734088e871 --- configure.ac | 2 +- src/bin/lttng-relayd/live.c | 2 +- src/bin/lttng-sessiond/event-notifier-error-accounting.c | 2 +- src/bin/lttng-sessiond/ust-app.c | 2 +- tests/utils/utils.sh | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 74a471b34..33b69e43a 100644 --- a/configure.ac +++ b/configure.ac @@ -204,7 +204,7 @@ AS_IF([test "x$libtool_fixup" = "xyes"], [ libtool_m4="$srcdir/m4/libtool.m4" libtool_flag_pattern=".*link_all_deplibs\s*,\s*\$1\s*)" - AC_MSG_CHECKING([for occurence(s) of link_all_deplibs = no in $libtool_m4]) + AC_MSG_CHECKING([for occurrence(s) of link_all_deplibs = no in $libtool_m4]) libtool_flag_pattern_count=$($GREP -c "$libtool_flag_pattern\s*=\s*no" $libtool_m4) AS_IF([test $libtool_flag_pattern_count -ne 0], [ diff --git a/src/bin/lttng-relayd/live.c b/src/bin/lttng-relayd/live.c index e884cdc8a..1a3036660 100644 --- a/src/bin/lttng-relayd/live.c +++ b/src/bin/lttng-relayd/live.c @@ -2036,7 +2036,7 @@ int viewer_get_metadata(struct relay_connection *conn) /* * Either this is the first time the metadata file is read, or a - * rotation of the corresponding relay stream has occured. + * rotation of the corresponding relay stream has occurred. */ if (!vstream->stream_file.handle && len > 0) { struct fs_handle *fs_handle; diff --git a/src/bin/lttng-sessiond/event-notifier-error-accounting.c b/src/bin/lttng-sessiond/event-notifier-error-accounting.c index e7b2def91..356cbc4d6 100644 --- a/src/bin/lttng-sessiond/event-notifier-error-accounting.c +++ b/src/bin/lttng-sessiond/event-notifier-error-accounting.c @@ -488,7 +488,7 @@ error_create_counter_data: lttng_ust_ctl_destroy_counter(daemon_counter); error_create_daemon_counter: error_shm_alloc: - /* Error occured before per-cpu SHMs were handed-off to ustctl. */ + /* Error occurred before per-cpu SHMs were handed-off to ustctl. */ if (cpu_counter_fds) { for (i = 0; i < entry->nr_counter_cpu_fds; i++) { if (cpu_counter_fds[i] < 0) { diff --git a/src/bin/lttng-sessiond/ust-app.c b/src/bin/lttng-sessiond/ust-app.c index 97ce92683..991d59315 100644 --- a/src/bin/lttng-sessiond/ust-app.c +++ b/src/bin/lttng-sessiond/ust-app.c @@ -1342,7 +1342,7 @@ static struct ust_app_event_notifier_rule *alloc_ust_app_event_notifier_rule( case LTTNG_EVENT_RULE_GENERATE_EXCLUSIONS_STATUS_NONE: break; default: - /* Error occured. */ + /* Error occurred. */ ERR("Failed to generate exclusions from trigger while allocating an event notifier rule"); goto error_put_trigger; } diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index 44cc31404..7f0140b42 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -1865,7 +1865,7 @@ function validate_trace pass "Validate trace for event $i, $traced events" else fail "Validate trace for event $i" - diag "Found $traced occurences of $i" + diag "Found $traced occurrences of $i" fi done ret=$? @@ -1893,7 +1893,7 @@ function validate_trace_count pass "Validate trace for event $i, $traced events" else fail "Validate trace for event $i" - diag "Found $traced occurences of $i" + diag "Found $traced occurrences of $i" fi cnt=$(($cnt + $traced)) done @@ -1923,7 +1923,7 @@ function validate_trace_count_range_incl_min_excl_max pass "Validate trace for event $i, $traced events" else fail "Validate trace for event $i" - diag "Found $traced occurences of $i" + diag "Found $traced occurrences of $i" fi cnt=$(($cnt + $traced)) done @@ -1957,7 +1957,7 @@ function validate_trace_exp() pass "Validate trace for expression '${event_exp}', $traced events" else fail "Validate trace for expression '${event_exp}'" - diag "Found $traced occurences of '${event_exp}'" + diag "Found $traced occurrences of '${event_exp}'" fi ret=$? return $ret -- 2.34.1