aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-07-19 16:16:55 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-07-23 01:29:23 +0200
commit629a43a4c253895af52e293cc202516da4f1a6b1 (patch)
treefda96647f60360d9a5202a401834b7c81d2bc05b
parent31716f981a260390cbdda7fdb164ec4faca12c8a (diff)
various logging: fix missing/extra newlines
-rw-r--r--src/libfilter/bsc_msg_acc.c2
-rw-r--r--src/osmo-bsc/abis_nm.c10
-rw-r--r--src/osmo-bsc/abis_rsl.c2
-rw-r--r--src/osmo-bsc/handover_decision_2.c2
-rw-r--r--src/osmo-bsc/system_information.c2
5 files changed, 9 insertions, 9 deletions
diff --git a/src/libfilter/bsc_msg_acc.c b/src/libfilter/bsc_msg_acc.c
index 46077b321..de6c4d933 100644
--- a/src/libfilter/bsc_msg_acc.c
+++ b/src/libfilter/bsc_msg_acc.c
@@ -96,7 +96,7 @@ struct bsc_msg_acc_lst *bsc_msg_acc_lst_get(void *ctx, struct llist_head *head,
lst = talloc_zero(ctx, struct bsc_msg_acc_lst);
if (!lst) {
- LOGP(DNAT, LOGL_ERROR, "Failed to allocate access list");
+ LOGP(DNAT, LOGL_ERROR, "Failed to allocate access list\n");
return NULL;
}
diff --git a/src/osmo-bsc/abis_nm.c b/src/osmo-bsc/abis_nm.c
index cb1cc56ea..d056bc439 100644
--- a/src/osmo-bsc/abis_nm.c
+++ b/src/osmo-bsc/abis_nm.c
@@ -1214,11 +1214,11 @@ static int parse_sdp_header(struct abis_nm_sw *sw)
/* go back to the start as we checked the whole filesize.. */
lseek(sw->fd, 0l, SEEK_SET);
- LOGP(DNM, LOGL_NOTICE, "The ipaccess SDP header is not fully understood.\n"
- "There might be checksums in the file that are not\n"
- "verified and incomplete firmware might be flashed.\n"
- "There is absolutely no WARRANTY that flashing will\n"
- "work.\n");
+ LOGP(DNM, LOGL_NOTICE, "The ipaccess SDP header is not fully understood."
+ " There might be checksums in the file that are not"
+ " verified and incomplete firmware might be flashed."
+ " There is absolutely no WARRANTY that flashing will"
+ " work.\n");
return 0;
}
diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c
index ab3658d53..bcc56bc6a 100644
--- a/src/osmo-bsc/abis_rsl.c
+++ b/src/osmo-bsc/abis_rsl.c
@@ -2351,7 +2351,7 @@ static uint8_t ipa_rtp_pt_for_lchan(struct gsm_lchan *lchan)
break;
}
LOGP(DRSL, LOGL_ERROR, "Cannot determine ip.access rtp payload type for "
- "tch_mode == 0x%02x\n & lchan_type == %d",
+ "tch_mode == 0x%02x & lchan_type == %d\n",
lchan->tch_mode, lchan->type);
return 0;
}
diff --git a/src/osmo-bsc/handover_decision_2.c b/src/osmo-bsc/handover_decision_2.c
index e514b6c5f..826dcaa5a 100644
--- a/src/osmo-bsc/handover_decision_2.c
+++ b/src/osmo-bsc/handover_decision_2.c
@@ -1680,7 +1680,7 @@ void on_ho_failure(struct bsc_handover *ho)
struct gsm_subscriber_connection *conn = ho->old_lchan->conn;
if (!conn) {
- LOGPHO(ho, LOGL_ERROR, "HO failure, but no conn");
+ LOGPHO(ho, LOGL_ERROR, "HO failure, but no conn\n");
return;
}
diff --git a/src/osmo-bsc/system_information.c b/src/osmo-bsc/system_information.c
index d99153f24..f810f526c 100644
--- a/src/osmo-bsc/system_information.c
+++ b/src/osmo-bsc/system_information.c
@@ -556,7 +556,7 @@ static int bitvec2freq_list(uint8_t *chan_list, struct bitvec *bv,
return 0;
LOGP(DRR, LOGL_ERROR, "min_arfcn=%u, max_arfcn=%u, arfcns=%d "
- "can not generate ARFCN list", min, max, arfcns);
+ "can not generate ARFCN list\n", min, max, arfcns);
return -EINVAL;
}