fix spelling in API docu, command reply, logging, descriptions
sections: ctrl, gb, gsm, vty
Change-Id: Iac211b5cd8504da36b699777b95a2448dd7c3e70
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 a602d78..e0bbcab 100644
--- a/src/gsm/lapd_core.c
+++ b/src/gsm/lapd_core.c
@@ -861,7 +861,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;