[PATCH] osmo-bsc[master]: bsc_api: fix formatstring in log message

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Mon Feb 26 21:27:26 UTC 2018


Review at  https://gerrit.osmocom.org/6953

bsc_api: fix formatstring in log message

The log message that is displayed when an unknown RR message
is detected contains an excess placeholder in its format string.

- correct format string.

This is a follow-up to the following change:
Change-Id I0a4d311f6939a4fcee59129daa18da4a2ab510ae

Change-Id: I25d9fa92276f102378db57e26c93b75d05221877
---
M src/libbsc/bsc_api.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/53/6953/1

diff --git a/src/libbsc/bsc_api.c b/src/libbsc/bsc_api.c
index 7c9ed6f..d5aaf9b 100644
--- a/src/libbsc/bsc_api.c
+++ b/src/libbsc/bsc_api.c
@@ -775,7 +775,7 @@
 		default:
 			/* Drop unknown RR message */
 			LOGP(DRR, LOGL_NOTICE,
-			     "%s Dropping %s 04.08 RR message from %s\n",
+			     "%s Dropping %s 04.08 RR message\n",
 			     gsm_lchan_name(conn->lchan), gsm48_rr_msg_name(msg_type));
 		}
 		break;

-- 
To view, visit https://gerrit.osmocom.org/6953
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I25d9fa92276f102378db57e26c93b75d05221877
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>



More information about the gerrit-log mailing list