[PATCH] libosmocore[master]: fix spelling in API docu, command reply, logging, descriptions

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Thorsten Alteholz gerrit-no-reply at lists.osmocom.org
Sat Mar 4 18:41:59 UTC 2017


Hello Neels Hofmeyr, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/1968

to look at the new patch set (#2).

fix spelling in API docu, command reply, logging, descriptions

sections: ctrl, gb, gsm, vty

Change-Id: Iac211b5cd8504da36b699777b95a2448dd7c3e70
---
M src/ctrl/control_if.c
M src/gb/gprs_ns.c
M src/gsm/auth_core.c
M src/gsm/lapd_core.c
M src/vty/logging_vty.c
5 files changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/68/1968/2

diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c
index f49d639..d2eb3e9 100644
--- a/src/ctrl/control_if.c
+++ b/src/ctrl/control_if.c
@@ -269,7 +269,7 @@
 err:
 	if (!cmd->reply) {
 		if (ret == CTRL_CMD_ERROR) {
-			cmd->reply = "An error has occured.";
+			cmd->reply = "An error has occurred.";
 			LOGP(DLCTRL, LOGL_NOTICE,
 			     "%s: cmd->reply has not been set (ERROR).\n",
 			     cmd->variable);
diff --git a/src/gb/gprs_ns.c b/src/gb/gprs_ns.c
index 76e70ff..0649899 100644
--- a/src/gb/gprs_ns.c
+++ b/src/gb/gprs_ns.c
@@ -138,7 +138,7 @@
 };
 
 static const struct osmo_stat_item_desc nsvc_stat_description[] = {
-	{ "alive.delay", "ALIVE reponse time        ", "ms", 16, 0 },
+	{ "alive.delay", "ALIVE response time        ", "ms", 16, 0 },
 };
 
 static const struct osmo_stat_item_group_desc nsvc_statg_desc = {
diff --git a/src/gsm/auth_core.c b/src/gsm/auth_core.c
index acb65f5..9ca5d93 100644
--- a/src/gsm/auth_core.c
+++ b/src/gsm/auth_core.c
@@ -180,7 +180,7 @@
  * based on the permanent subscriber data, a random value as well as the
  * AUTS and RAND values returned by the SIM/MS.  This special variant is
  * needed if the sequence numbers between MS and AUC have for some
- * reason become diffrent.
+ * reason become different.
  */
 int osmo_auth_gen_vec_auts(struct osmo_auth_vector *vec,
 			   struct osmo_sub_auth_data *aud,
diff --git a/src/gsm/lapd_core.c b/src/gsm/lapd_core.c
index 5ee88a4..301b8ea 100644
--- a/src/gsm/lapd_core.c
+++ b/src/gsm/lapd_core.c
@@ -856,7 +856,7 @@
 				if (memcmp(dl->cont_res->data, msg->data,
 								length)) {
 					LOGP(DLLAPD, LOGL_INFO, "Another SABM "
-					     "with diffrent content - "
+					     "with different content - "
 					     "ignoring! (dl=%p)\n", dl);
 					msgb_free(msg);
 					return 0;
diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c
index aabcaa7..7bb79b8 100644
--- a/src/vty/logging_vty.c
+++ b/src/vty/logging_vty.c
@@ -342,7 +342,7 @@
 
 gDEFUN(cfg_description, cfg_description_cmd,
 	"description .TEXT",
-	"Save human-readable decription of the object\n"
+	"Save human-readable description of the object\n"
 	"Text until the end of the line\n")
 {
 	char **dptr = vty->index_sub;

-- 
To view, visit https://gerrit.osmocom.org/1968
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Iac211b5cd8504da36b699777b95a2448dd7c3e70
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Thorsten Alteholz <osmocom at alteholz.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Thorsten Alteholz <osmocom at alteholz.de>



More information about the gerrit-log mailing list