From 9b9a56e54361972cc90d2cce7039085e2e168724 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Wed, 4 Jul 2018 15:35:42 +0200 Subject: [PATCH] fix printf in RLC_AM --- lib/src/upper/rlc_am.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/src/upper/rlc_am.cc b/lib/src/upper/rlc_am.cc index 8a5bfde3e..b1f634a0c 100644 --- a/lib/src/upper/rlc_am.cc +++ b/lib/src/upper/rlc_am.cc @@ -1213,7 +1213,7 @@ void rlc_am::reassemble_rx_sdus() #endif } } else { - log->error("Cannot read %d bytes from rx_window. vr_r=%d, tailroom=%d bytes\n", len, rx_window[vr_r].buf->get_tailroom()); + log->error("Cannot read %d bytes from rx_window. vr_r=%d, tailroom=%d bytes\n", len, vr_r, rx_window[vr_r].buf->get_tailroom()); pool->deallocate(rx_sdu); goto exit; } @@ -1289,7 +1289,6 @@ void rlc_am::debug_state() "vr_r = %d, vr_mr = %d, vr_x = %d, vr_ms = %d, vr_h = %d\n", rrc->get_rb_name(lcid).c_str(), vt_a, vt_ms, vt_s, poll_sn, vr_r, vr_mr, vr_x, vr_ms, vr_h); - } void rlc_am::print_rx_segments()