diff options
author | paco <paco@voltanet.io> | 2018-06-18 17:49:58 +0200 |
---|---|---|
committer | paco <paco@voltanet.io> | 2018-06-18 17:52:56 +0200 |
commit | 2ec42b858c876dac100e939e7329eaec00f90962 (patch) | |
tree | 97aeba509fadb56029c286f24b31ccaafabb4fb6 /babeld/babel_interface.c | |
parent | Merge pull request #2458 from pacovn/Coverity_1221437_Unchecked_return_value (diff) | |
download | frr-2ec42b858c876dac100e939e7329eaec00f90962.tar.xz frr-2ec42b858c876dac100e939e7329eaec00f90962.zip |
babeld, lib, ospfd, tests: fmt fixes (cppcheck)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'babeld/babel_interface.c')
-rw-r--r-- | babeld/babel_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c index d4958ddf2..453fd8e04 100644 --- a/babeld/babel_interface.c +++ b/babeld/babel_interface.c @@ -1001,7 +1001,7 @@ show_babel_routes_sub(struct babel_route *route, struct vty *vty, break; if(k > 0) channels[j++] = ','; - snprintf(channels + j, 100 - j, "%d", route->channels[k]); + snprintf(channels + j, 100 - j, "%u", route->channels[k]); j = strlen(channels); } snprintf(channels + j, 100 - j, ")"); |