From: Michael Jeanson Date: Wed, 1 Apr 2020 19:09:22 +0000 (-0400) Subject: Typo: 'Accomodate' -> 'Accommodate' X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=d1ae48607f5b5314b85d170cec052ad5e5d8f52c;p=deliverable%2Flttng-tools.git Typo: 'Accomodate' -> 'Accommodate' Signed-off-by: Michael Jeanson Change-Id: I1f5408d82546db7df14d4899d4d2c52ec1421b52 Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c index 12b7b74f6..71a2d925f 100644 --- a/src/bin/lttng-relayd/main.c +++ b/src/bin/lttng-relayd/main.c @@ -507,7 +507,7 @@ static int set_fd_pool_size(void) goto end; } - DBG("File descriptor pool size argument (%u) adjusted to %u to accomodate transient fd uses", + DBG("File descriptor pool size argument (%u) adjusted to %u to accommodates transient fd uses", lttng_opt_fd_pool_size, lttng_opt_fd_pool_size - DEFAULT_RELAYD_FD_POOL_SIZE_RESERVE); lttng_opt_fd_pool_size -= DEFAULT_RELAYD_FD_POOL_SIZE_RESERVE; diff --git a/src/bin/lttng-sessiond/notification-thread-events.c b/src/bin/lttng-sessiond/notification-thread-events.c index 73ec72f89..6c69a0232 100644 --- a/src/bin/lttng-sessiond/notification-thread-events.c +++ b/src/bin/lttng-sessiond/notification-thread-events.c @@ -2949,7 +2949,7 @@ bool evaluate_buffer_usage_condition(const struct lttng_condition *condition, * forego this double-multiplication or it could be performed * as fixed-point math. * - * Note that caching should accomodate the case where the + * Note that caching should accommodates the case where the * condition applies to multiple channels (i.e. don't assume * that all channels matching my_chann* have the same size...) */ diff --git a/src/common/defaults.h b/src/common/defaults.h index 0b6cb763c..baf3d5fcc 100644 --- a/src/common/defaults.h +++ b/src/common/defaults.h @@ -85,7 +85,7 @@ #define DEFAULT_RELAYD_MIN_FD_POOL_SIZE 100 /* - * The file descriptor pool size needs a reserve buffer to accomodate the + * The file descriptor pool size needs a reserve buffer to accommodates the * indirect use of short-lived file descriptors. For instance, glibc will * create a socket (and thus, use an fd) during calls to gethostname() or * when querying the user's group. Other calls also probably make use of diff --git a/src/common/dynamic-buffer.h b/src/common/dynamic-buffer.h index 000f3cf93..1f27f7403 100644 --- a/src/common/dynamic-buffer.h +++ b/src/common/dynamic-buffer.h @@ -50,7 +50,7 @@ int lttng_dynamic_buffer_append_buffer(struct lttng_dynamic_buffer *dst_buffer, /* * Set the buffer's size to new_size. The capacity of the buffer will - * be expanded (if necessary) to accomodate new_size. Areas acquired by + * be expanded (if necessary) to accommodates new_size. Areas acquired by * a size increase will be zeroed. * * Be careful to expand the buffer's size _before_ calling out external @@ -69,7 +69,7 @@ int lttng_dynamic_buffer_set_size(struct lttng_dynamic_buffer *buffer, size_t new_size); /* - * Set the buffer's capacity to accomodate the new_capacity, allocating memory + * Set the buffer's capacity to accommodates the new_capacity, allocating memory * as necessary. The buffer's content is preserved. Setting a buffer's capacity * is meant as a _hint_ to the underlying buffer and is only optimization; no * guarantee is offered that subsequent calls to append or set_size will succeed. diff --git a/src/common/fd-tracker/fd-tracker.c b/src/common/fd-tracker/fd-tracker.c index 6c8434875..8ab87f6a3 100644 --- a/src/common/fd-tracker/fd-tracker.c +++ b/src/common/fd-tracker/fd-tracker.c @@ -642,7 +642,7 @@ int fd_tracker_open_unsuspendable_fd(struct fd_tracker *tracker, } else { /* * There are not enough active suspendable file - * descriptors to open a new fd and still accomodate the + * descriptors to open a new fd and still accommodates the * tracker's capacity. */ WARN("Cannot open unsuspendable fd, too many unsuspendable file descriptors are opened (%u)", diff --git a/src/common/fd-tracker/fd-tracker.h b/src/common/fd-tracker/fd-tracker.h index 504f92a3e..348ac5963 100644 --- a/src/common/fd-tracker/fd-tracker.h +++ b/src/common/fd-tracker/fd-tracker.h @@ -106,7 +106,7 @@ struct fs_handle *fd_tracker_open_fs_handle(struct fd_tracker *tracker, * negative tracker-specific codes may be returned: * - ENOMEM: allocation of a new entry failed, * - EMFILE: too many unsuspendable fds are opened and the tracker can't - * accomodate the request for a new unsuspendable entry. + * accommodates the request for a new unsuspendable entry. */ LTTNG_HIDDEN int fd_tracker_open_unsuspendable_fd(struct fd_tracker *tracker, diff --git a/src/common/uri.c b/src/common/uri.c index 0f20c61b8..0638aebd9 100644 --- a/src/common/uri.c +++ b/src/common/uri.c @@ -126,7 +126,7 @@ static int set_ip_address(const char *addr, int af, char *dst, size_t size) * We choose to use the system name resolution API first * to honor its network configuration. If this fails, we * resolve to the appropriate loopback address. This is - * done to accomodate systems which may want to start + * done to accommodates systems which may want to start * tracing before their network configured. */ const char *loopback_addr = af == AF_INET ?