From ceec108831028baacb3596e8884adad1fef3e37b Mon Sep 17 00:00:00 2001 From: Francisco Date: Fri, 22 Oct 2021 14:12:25 +0100 Subject: [PATCH] nr,sched: fix fmt string in sched nr harq --- srsenb/src/stack/mac/nr/sched_nr_harq.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/srsenb/src/stack/mac/nr/sched_nr_harq.cc b/srsenb/src/stack/mac/nr/sched_nr_harq.cc index 396f73031..f8496c721 100644 --- a/srsenb/src/stack/mac/nr/sched_nr_harq.cc +++ b/srsenb/src/stack/mac/nr/sched_nr_harq.cc @@ -146,12 +146,18 @@ void harq_entity::new_slot(slot_point slot_rx_) slot_rx = slot_rx_; for (harq_proc& dl_h : dl_harqs) { if (dl_h.clear_if_maxretx(slot_rx)) { - logger.info("SCHED: discarding rnti=0x%x, DL TB pid=%d. Cause: Maximum number of retx exceeded (%d)"); + logger.info("SCHED: discarding rnti=0x%x, DL TB pid=%d. Cause: Maximum number of retx exceeded (%d)", + rnti, + dl_h.pid, + dl_h.max_nof_retx()); } } for (harq_proc& ul_h : ul_harqs) { if (ul_h.clear_if_maxretx(slot_rx)) { - logger.info("SCHED: discarding rnti=0x%x, UL TB pid=%d. Cause: Maximum number of retx exceeded (%d)"); + logger.info("SCHED: discarding rnti=0x%x, UL TB pid=%d. Cause: Maximum number of retx exceeded (%d)", + rnti, + ul_h.pid, + ul_h.max_nof_retx()); } } }