mirror of https://gerrit.osmocom.org/libosmocore
fix spelling in API docu, command reply, logging, descriptions
sections: ctrl, gb, gsm, vty Change-Id: Iac211b5cd8504da36b699777b95a2448dd7c3e70
This commit is contained in:
parent
9e83c3d5ca
commit
a81055db1d
|
@ -269,7 +269,7 @@ int ctrl_cmd_handle(struct ctrl_handle *ctrl, struct ctrl_cmd *cmd,
|
||||||
err:
|
err:
|
||||||
if (!cmd->reply) {
|
if (!cmd->reply) {
|
||||||
if (ret == CTRL_CMD_ERROR) {
|
if (ret == CTRL_CMD_ERROR) {
|
||||||
cmd->reply = "An error has occured.";
|
cmd->reply = "An error has occurred.";
|
||||||
LOGP(DLCTRL, LOGL_NOTICE,
|
LOGP(DLCTRL, LOGL_NOTICE,
|
||||||
"%s: cmd->reply has not been set (ERROR).\n",
|
"%s: cmd->reply has not been set (ERROR).\n",
|
||||||
cmd->variable);
|
cmd->variable);
|
||||||
|
|
|
@ -138,7 +138,7 @@ enum ns_stat {
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct osmo_stat_item_desc nsvc_stat_description[] = {
|
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 = {
|
static const struct osmo_stat_item_group_desc nsvc_statg_desc = {
|
||||||
|
|
|
@ -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
|
* 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
|
* 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
|
* 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,
|
int osmo_auth_gen_vec_auts(struct osmo_auth_vector *vec,
|
||||||
struct osmo_sub_auth_data *aud,
|
struct osmo_sub_auth_data *aud,
|
||||||
|
|
|
@ -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,
|
if (memcmp(dl->cont_res->data, msg->data,
|
||||||
length)) {
|
length)) {
|
||||||
LOGP(DLLAPD, LOGL_INFO, "Another SABM "
|
LOGP(DLLAPD, LOGL_INFO, "Another SABM "
|
||||||
"with diffrent content - "
|
"with different content - "
|
||||||
"ignoring! (dl=%p)\n", dl);
|
"ignoring! (dl=%p)\n", dl);
|
||||||
msgb_free(msg);
|
msgb_free(msg);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -342,7 +342,7 @@ DEFUN(show_alarms,
|
||||||
|
|
||||||
gDEFUN(cfg_description, cfg_description_cmd,
|
gDEFUN(cfg_description, cfg_description_cmd,
|
||||||
"description .TEXT",
|
"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")
|
"Text until the end of the line\n")
|
||||||
{
|
{
|
||||||
char **dptr = vty->index_sub;
|
char **dptr = vty->index_sub;
|
||||||
|
|
Loading…
Reference in New Issue