From c572682e79427a984300e9a6cdfae544776b1c71 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Fri, 21 Sep 2018 21:19:46 +0700 Subject: layer23/l1ctl.c: replace printf() calls by LOGP Change-Id: I863fb668500b2010dfef7a63217255fd010c06d7 --- src/host/layer23/src/common/l1ctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/host/layer23/src/common/l1ctl.c b/src/host/layer23/src/common/l1ctl.c index 78e340b9..eedfb938 100644 --- a/src/host/layer23/src/common/l1ctl.c +++ b/src/host/layer23/src/common/l1ctl.c @@ -194,7 +194,7 @@ static int rx_ph_data_ind(struct osmocom_ms *ms, struct msgb *msg) if (meas->dsc > meas->ds_fail) meas->dsc = meas->ds_fail; if (meas->dsc < meas->ds_fail) - printf("LOSS counter for CCCH %d\n", meas->dsc); + LOGP(DL1C, LOGL_INFO, "LOSS counter for CCCH %d\n", meas->dsc); if (meas->dsc > 0) break; meas->ds_fail = 0; @@ -216,7 +216,7 @@ static int rx_ph_data_ind(struct osmocom_ms *ms, struct msgb *msg) if (meas->s > meas->rl_fail) meas->s = meas->rl_fail; if (meas->s < meas->rl_fail) - printf("LOSS counter for ACCH %d\n", meas->s); + LOGP(DL1C, LOGL_NOTICE, "LOSS counter for ACCH %d\n", meas->s); if (meas->s > 0) break; meas->rl_fail = 0; -- cgit v1.2.3