diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-09-21 21:19:46 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2018-09-21 21:19:46 +0700 |
commit | c572682e79427a984300e9a6cdfae544776b1c71 (patch) | |
tree | 248100dbc8da69353b96e02178ca0806957c18a6 | |
parent | f5004affc9eab672975ad3b7eb1368bdf4121a3d (diff) |
layer23/l1ctl.c: replace printf() calls by LOGP
Change-Id: I863fb668500b2010dfef7a63217255fd010c06d7
-rw-r--r-- | src/host/layer23/src/common/l1ctl.c | 4 |
1 files 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; |