summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2018-07-21 12:44:55 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2018-07-21 12:44:55 +0200
commit147c6e4bdb94235a3f34855615a709d4d28db0af (patch)
tree07fbeb3547456312cae78e639bd682533c0d1f9c
parent4f543c6f5091e2eb6bc5d53d7f2a459063e8dda6 (diff)
Fix some spelling errors found by lintian
-rw-r--r--debian/patches/0001-Fix-some-spelling-errors-found-by-lintian.patch114
-rw-r--r--debian/patches/series1
2 files changed, 115 insertions, 0 deletions
diff --git a/debian/patches/0001-Fix-some-spelling-errors-found-by-lintian.patch b/debian/patches/0001-Fix-some-spelling-errors-found-by-lintian.patch
new file mode 100644
index 0000000..46a246d
--- /dev/null
+++ b/debian/patches/0001-Fix-some-spelling-errors-found-by-lintian.patch
@@ -0,0 +1,114 @@
+From: Ruben Undheim <ruben.undheim@gmail.com>
+Date: Sat, 21 Jul 2018 12:44:46 +0200
+Subject: Fix some spelling errors found by lintian
+
+---
+ src/libbsc/a_reset.c | 2 +-
+ src/libbsc/abis_om2000_vty.c | 2 +-
+ src/libbsc/bsc_vty.c | 4 ++--
+ src/libbsc/pcu_sock.c | 2 +-
+ src/osmo-bsc/osmo_bsc_main.c | 2 +-
+ src/osmo-bsc/osmo_bsc_sigtran.c | 2 +-
+ src/osmo-bsc/osmo_bsc_vty.c | 2 +-
+ 7 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/src/libbsc/a_reset.c b/src/libbsc/a_reset.c
+index 1fccc5f..4e7e77c 100644
+--- a/src/libbsc/a_reset.c
++++ b/src/libbsc/a_reset.c
+@@ -57,7 +57,7 @@ static void fsm_disc_cb(struct osmo_fsm_inst *fi, uint32_t event, void *data)
+ struct a_reset_ctx *reset = (struct a_reset_ctx *)data;
+ OSMO_ASSERT(reset);
+ OSMO_ASSERT(reset->fsm);
+- LOGPFSML(reset->fsm, LOGL_NOTICE, "SIGTRAN connection succeded.\n");
++ LOGPFSML(reset->fsm, LOGL_NOTICE, "SIGTRAN connection succeeded.\n");
+
+ reset->conn_loss_counter = 0;
+ osmo_fsm_inst_state_chg(fi, ST_CONN, 0, 0);
+diff --git a/src/libbsc/abis_om2000_vty.c b/src/libbsc/abis_om2000_vty.c
+index b55a6c4..ba5c23f 100644
+--- a/src/libbsc/abis_om2000_vty.c
++++ b/src/libbsc/abis_om2000_vty.c
+@@ -370,7 +370,7 @@ DEFUN(del_om2k_con_group, del_om2k_con_group_cmd,
+ #define CON_PATH_HELP "CON Path (In/Out)\n" \
+ "Add CON Path to Concentration Group\n" \
+ "Delete CON Path from Concentration Group\n" \
+- "CON Conection Point\n" \
++ "CON Connection Point\n" \
+ "Contiguity Index\n" \
+
+ DEFUN(cfg_om2k_con_path_dec, cfg_om2k_con_path_dec_cmd,
+diff --git a/src/libbsc/bsc_vty.c b/src/libbsc/bsc_vty.c
+index ea4c8d0..81c6f1e 100644
+--- a/src/libbsc/bsc_vty.c
++++ b/src/libbsc/bsc_vty.c
+@@ -1776,7 +1776,7 @@ static void bts_paging_dump_vty(struct vty *vty, struct gsm_bts *bts)
+ DEFUN(show_paging,
+ show_paging_cmd,
+ "show paging [<0-255>]",
+- SHOW_STR "Display information about paging reuqests of a BTS\n"
++ SHOW_STR "Display information about paging requests of a BTS\n"
+ BTS_NR_STR)
+ {
+ struct gsm_network *net = gsmnet_from_vty(vty);
+@@ -2278,7 +2278,7 @@ DEFUN(cfg_bts_oml_e1_tei,
+
+ DEFUN(cfg_bts_challoc, cfg_bts_challoc_cmd,
+ "channel allocator (ascending|descending)",
+- "Channnel Allocator\n" "Channel Allocator\n"
++ "Channel Allocator\n" "Channel Allocator\n"
+ "Allocate Timeslots and Transceivers in ascending order\n"
+ "Allocate Timeslots and Transceivers in descending order\n")
+ {
+diff --git a/src/libbsc/pcu_sock.c b/src/libbsc/pcu_sock.c
+index 64422c7..52d5f59 100644
+--- a/src/libbsc/pcu_sock.c
++++ b/src/libbsc/pcu_sock.c
+@@ -447,7 +447,7 @@ static int pcu_rx(struct gsm_network *net, uint8_t msg_type,
+ rc = pcu_rx_data_req(bts, msg_type, &pcu_prim->u.data_req);
+ break;
+ default:
+- LOGP(DPCU, LOGL_ERROR, "Received unknwon PCU msg type %d\n",
++ LOGP(DPCU, LOGL_ERROR, "Received unknown PCU msg type %d\n",
+ msg_type);
+ rc = -EINVAL;
+ }
+diff --git a/src/osmo-bsc/osmo_bsc_main.c b/src/osmo-bsc/osmo_bsc_main.c
+index db6bcdb..243e274 100644
+--- a/src/osmo-bsc/osmo_bsc_main.c
++++ b/src/osmo-bsc/osmo_bsc_main.c
+@@ -501,7 +501,7 @@ int main(int argc, char **argv)
+ }
+
+ if (osmo_bsc_sigtran_init(&bsc_gsmnet->bsc_data->mscs) != 0) {
+- LOGP(DNM, LOGL_ERROR, "Failed to initalize sigtran backhaul.\n");
++ LOGP(DNM, LOGL_ERROR, "Failed to initialize sigtran backhaul.\n");
+ exit(1);
+ }
+
+diff --git a/src/osmo-bsc/osmo_bsc_sigtran.c b/src/osmo-bsc/osmo_bsc_sigtran.c
+index 1a31a7c..f6301f6 100644
+--- a/src/osmo-bsc/osmo_bsc_sigtran.c
++++ b/src/osmo-bsc/osmo_bsc_sigtran.c
+@@ -328,7 +328,7 @@ int osmo_bsc_sigtran_send(struct gsm_subscriber_connection *conn, struct msgb *m
+ LOGP(DMSC, LOGL_INFO, "Tx MSC DTAP\n");
+ break;
+ default:
+- LOGP(DMSC, LOGL_ERROR, "Tx MSC (unknwon message type)\n");
++ LOGP(DMSC, LOGL_ERROR, "Tx MSC (unknown message type)\n");
+ }
+ } else
+ LOGP(DMSC, LOGL_ERROR, "Tx MSC (message too short)\n");
+diff --git a/src/osmo-bsc/osmo_bsc_vty.c b/src/osmo-bsc/osmo_bsc_vty.c
+index 36c3223..dc7d7e3 100644
+--- a/src/osmo-bsc/osmo_bsc_vty.c
++++ b/src/osmo-bsc/osmo_bsc_vty.c
+@@ -600,7 +600,7 @@ static void enforce_standard_ssn(struct vty *vty, struct osmo_sccp_addr *addr)
+ if (addr->presence & OSMO_SCCP_ADDR_T_SSN) {
+ if (addr->ssn != OSMO_SCCP_SSN_BSSAP)
+ vty_out(vty,
+- "setting an SSN (%u) different from the standard (%u) is not allowd, will use standard SSN for address: %s%s",
++ "setting an SSN (%u) different from the standard (%u) is not allowed, will use standard SSN for address: %s%s",
+ addr->ssn, OSMO_SCCP_SSN_BSSAP, osmo_sccp_addr_dump(addr), VTY_NEWLINE);
+ }
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d507a8a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-some-spelling-errors-found-by-lintian.patch