summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThorsten Alteholz <osmocom@alteholz.de>2017-03-02 22:13:48 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-04-23 14:34:18 +0000
commita81055db1dc2046f57f1c78f055f693b5a4e3308 (patch)
tree4e3f313d70550a151f15c3fb680aae698c4dbf30 /src
parent9e83c3d5ca64428befe74e5aad61bd84bccaf309 (diff)
fix spelling in API docu, command reply, logging, descriptions
sections: ctrl, gb, gsm, vty Change-Id: Iac211b5cd8504da36b699777b95a2448dd7c3e70
Diffstat (limited to 'src')
-rw-r--r--src/ctrl/control_if.c2
-rw-r--r--src/gb/gprs_ns.c2
-rw-r--r--src/gsm/auth_core.c2
-rw-r--r--src/gsm/lapd_core.c2
-rw-r--r--src/vty/logging_vty.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c
index f49d6399..d2eb3e90 100644
--- a/src/ctrl/control_if.c
+++ b/src/ctrl/control_if.c
@@ -269,7 +269,7 @@ int ctrl_cmd_handle(struct ctrl_handle *ctrl, struct ctrl_cmd *cmd,
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 76e70ff0..06498990 100644
--- a/src/gb/gprs_ns.c
+++ b/src/gb/gprs_ns.c
@@ -138,7 +138,7 @@ enum ns_stat {
};
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 acb65f57..9ca5d93b 100644
--- a/src/gsm/auth_core.c
+++ b/src/gsm/auth_core.c
@@ -180,7 +180,7 @@ int osmo_auth_gen_vec(struct osmo_auth_vector *vec,
* 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 a602d788..e0bbcabf 100644
--- a/src/gsm/lapd_core.c
+++ b/src/gsm/lapd_core.c
@@ -861,7 +861,7 @@ static int lapd_rx_u(struct msgb *msg, struct lapd_msg_ctx *lctx)
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 aabcaa75..7bb79b8b 100644
--- a/src/vty/logging_vty.c
+++ b/src/vty/logging_vty.c
@@ -342,7 +342,7 @@ DEFUN(show_alarms,
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;