diff options
author | Eric <ewild@sysmocom.de> | 2021-06-16 15:20:51 +0200 |
---|---|---|
committer | Eric <ewild@sysmocom.de> | 2021-06-16 15:20:51 +0200 |
commit | 0c34c64a16e47e6957b7a84e6f43ca52868b960a (patch) | |
tree | c1946874162fe632d36259a94e22e9f04cf063e3 | |
parent | 0a038223d041677cc708cab7e2b1815587644f99 (diff) |
vty: printing fn offset should be signed
...because it is usually negative
Change-Id: I8297dbb0fec25720e73d59fd8e38834029154405
-rw-r--r-- | CommonLibs/trx_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CommonLibs/trx_vty.c b/CommonLibs/trx_vty.c index 30f55c8..2b0ba71 100644 --- a/CommonLibs/trx_vty.c +++ b/CommonLibs/trx_vty.c @@ -639,7 +639,7 @@ static int config_write_trx(struct vty *vty) if (trx->cfg.stack_size != 0) vty_out(vty, " stack-size %u%s", trx->cfg.stack_size, VTY_NEWLINE); if (trx->cfg.ul_fn_offset != 0) - vty_out(vty, " ul-fn-offset %u%s", trx->cfg.ul_fn_offset, VTY_NEWLINE); + vty_out(vty, " ul-fn-offset %d%s", trx->cfg.ul_fn_offset, VTY_NEWLINE); trx_rate_ctr_threshold_write_config(vty, " "); for (i = 0; i < trx->cfg.num_chans; i++) { |