From a81055db1dc2046f57f1c78f055f693b5a4e3308 Mon Sep 17 00:00:00 2001 From: Thorsten Alteholz Date: Thu, 2 Mar 2017 22:13:48 +0100 Subject: fix spelling in API docu, command reply, logging, descriptions sections: ctrl, gb, gsm, vty Change-Id: Iac211b5cd8504da36b699777b95a2448dd7c3e70 --- src/ctrl/control_if.c | 2 +- src/gb/gprs_ns.c | 2 +- src/gsm/auth_core.c | 2 +- src/gsm/lapd_core.c | 2 +- src/vty/logging_vty.c | 2 +- 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; -- cgit v1.2.3