[lttng-dev] [PATCH babeltrace 3/3] Typo: informations -> information
Michael Jeanson
mjeanson at efficios.com
Thu Oct 12 21:15:27 UTC 2017
Information is an uncountable noun in english.
Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
cli/babeltrace.c | 4 ++--
doc/API.txt | 2 +-
plugins/ctf/fs-src/file.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/cli/babeltrace.c b/cli/babeltrace.c
index 0d5a0c4..52b1fdf 100644
--- a/cli/babeltrace.c
+++ b/cli/babeltrace.c
@@ -2180,7 +2180,7 @@ int set_stream_intersections(struct cmd_run_ctx *ctx,
stream_infos = bt_value_map_get(trace_info, "streams");
if (!stream_infos || !bt_value_is_array(stream_infos)) {
ret = -1;
- BT_LOGD_STR("Cannot retrieve stream informations from trace in query result.");
+ BT_LOGD_STR("Cannot retrieve stream information from trace in query result.");
goto error;
}
@@ -2231,7 +2231,7 @@ int set_stream_intersections(struct cmd_run_ctx *ctx,
stream_idx);
if (!stream_info || !bt_value_is_map(stream_info)) {
ret = -1;
- BT_LOGD_STR("Cannot retrieve stream informations from trace in query result.");
+ BT_LOGD_STR("Cannot retrieve stream information from trace in query result.");
goto error;
}
diff --git a/doc/API.txt b/doc/API.txt
index 918c353..9a1cd6e 100644
--- a/doc/API.txt
+++ b/doc/API.txt
@@ -162,7 +162,7 @@ possible types are defined in the ctf_type_id enum:
CTF_TYPE_SEQUENCE,
NR_CTF_TYPES.
-Depending on the field type, we can get informations about the field with the
+Depending on the field type, we can get information about the field with the
following functions:
* bt_ctf_get_index() return the element at the index
position of an array of a sequence;
diff --git a/plugins/ctf/fs-src/file.c b/plugins/ctf/fs-src/file.c
index aa5b8ff..585faef 100644
--- a/plugins/ctf/fs-src/file.c
+++ b/plugins/ctf/fs-src/file.c
@@ -96,7 +96,7 @@ int ctf_fs_file_open(struct ctf_fs_file *file, const char *mode)
BT_LOGD("Opened file: %p", file->fp);
if (fstat(fileno(file->fp), &stat)) {
- BT_LOGE("Cannot get file informations: %s", strerror(errno));
+ BT_LOGE("Cannot get file information: %s", strerror(errno));
goto error;
}
--
2.7.4
More information about the lttng-dev
mailing list