Skip to contentSkip to conversation

Typo: paramater -> parameter

PATCH New Michael Jeanson 2 participants 3 messages Oct 12, 2017 – Nov 13, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 2/3 Typo: paramater -> parameter

---
 cli/babeltrace.c                       | 2 +-
 plugins/libctfcopytrace/ctfcopytrace.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
cli/babeltrace.c +1 -1
index 15db3ea..0d5a0c4 100644
@@ -2089,7 +2089,7 @@ int set_stream_intersections(struct cmd_run_ctx *ctx,
 
 	value_status = bt_value_map_insert(query_params, "path", component_path_value);
 	if (value_status != BT_VALUE_STATUS_OK) {
-		BT_LOGE_STR("Cannot insert path parameter in query paramater map.");
+		BT_LOGE_STR("Cannot insert path parameter in query parameter map.");
 		ret = -1;
 		goto error;
 	}
plugins/libctfcopytrace/ctfcopytrace.h +1 -1
index 9a103e9..a3c2a82 100644
@@ -57,7 +57,7 @@ enum bt_component_status ctf_copy_clock_classes(FILE *err,
 		struct bt_ctf_trace *trace);
 
 /*
- * Create a copy of the event class passed in paramater.
+ * Create a copy of the event class passed in parameter.
  *
  * Returns NULL on error.
  */
Signature · 6 lines
2.7.4

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
#2 lore raw

PATCH 3/3 Typo: informations -> information

In reply to a message not in the archive

Information is an uncountable noun in english.

---
 cli/babeltrace.c          | 4 ++--
 doc/API.txt               | 2 +-
 plugins/ctf/fs-src/file.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
cli/babeltrace.c +2 -2
index 0d5a0c4..52b1fdf 100644
@@ -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;
 			}
 
doc/API.txt +1 -1
index 918c353..9a1cd6e 100644
@@ -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;
plugins/ctf/fs-src/file.c +1 -1
index aa5b8ff..585faef 100644
@@ -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;
 	}
 
Signature · 6 lines
2.7.4

_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
#3 lore raw

Re: [PATCH babeltrace 1/3] Typo: priorty -> priority

In reply to a message not in the archive

All three patches were merged, thanks!

Jérémie

Quoted 21 lines · Michael Jeanson
---
 plugins/utils/muxer/muxer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
plugins/utils/muxer/muxer.c +1 -2
index efecf6c..d8ea3b0 100644
@@ -638,7 +638,7 @@ int get_notif_ts_ns(struct muxer_comp *muxer_comp,
         * the youngest.
         */
        if (bt_clock_class_priority_map_get_clock_class_count(cc_prio_map) == 0) {
-               BT_LOGV_STR("Notification's clock class priorty map contains 0 clock classes: "
+               BT_LOGV_STR("Notification's clock class priority map contains 0 clock classes: "
                        "using the last returned timestamp.");
                *ts_ns = last_returned_ts_ns;
                goto end;
--

2.7.4

Signature · 7 lines
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev