neels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/31607 )
Change subject: bsc_vty.c write_msc(): fix weird printf format ......................................................................
bsc_vty.c write_msc(): fix weird printf format
Change-Id: I856c2d620b89efcf3239186ef53c6941577dbccc --- M src/osmo-bsc/bsc_vty.c 1 file changed, 11 insertions(+), 2 deletions(-)
Approvals: laforge: Looks good to me, approved fixeria: Looks good to me, but someone else must approve pespin: Looks good to me, approved Jenkins Builder: Verified
diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c index ce4f654..d0add0e 100644 --- a/src/osmo-bsc/bsc_vty.c +++ b/src/osmo-bsc/bsc_vty.c @@ -2551,9 +2551,9 @@ vty_out(vty, " ");
if (msc->audio_support[i]->hr) - vty_out(vty, "hr%.1u", msc->audio_support[i]->ver); + vty_out(vty, "hr%u", msc->audio_support[i]->ver); else - vty_out(vty, "fr%.1u", msc->audio_support[i]->ver); + vty_out(vty, "fr%u", msc->audio_support[i]->ver); } vty_out(vty, "%s", VTY_NEWLINE);