From 629a43a4c253895af52e293cc202516da4f1a6b1 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Thu, 19 Jul 2018 16:16:55 +0200 Subject: various logging: fix missing/extra newlines Change-Id: Id2619d0d45eb2686246c03643b4a578392a54cfe --- src/libfilter/bsc_msg_acc.c | 2 +- src/osmo-bsc/abis_nm.c | 10 +++++----- src/osmo-bsc/abis_rsl.c | 2 +- src/osmo-bsc/handover_decision_2.c | 2 +- src/osmo-bsc/system_information.c | 2 +- 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; } -- cgit v1.2.3