diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-04-13 22:40:46 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-04-13 22:40:46 +0300 |
| commit | 50e85abc25f617ac5a5e1db678a2dc2c6da964bc (patch) | |
| tree | 0d4af80b7eeed6fed9159822c6dd8967a405b16d /python/callgraph-dot.py | |
| parent | b6e6656a2e24e669b5a87db76edb8b09e48fce9e (diff) | |
isisd: Fix compile warning with `-Wformat-truncation`
isisd/isis_spf.c: In function ‘show_isis_route_common’:
isisd/isis_spf.c:3034:39: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 2 [-Wformat-truncation=]
snprintf(key, sizeof(key), "level-%d", level);
^~
isisd/isis_spf.c:3034:32: note: directive argument in the range [1, 2147483646]
snprintf(key, sizeof(key), "level-%d", level);
^~~~~~~~~~
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'python/callgraph-dot.py')
0 files changed, 0 insertions, 0 deletions
