neels has uploaded this change for review. ( 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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/07/31607/1
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);