]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: add missing printf attribute
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 31 Jan 2023 21:17:10 +0000 (22:17 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 1 Feb 2023 02:00:22 +0000 (03:00 +0100)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
tests/lib/test_nexthop_iter.c

index f21f3bbb33d3117ec6a4c62c780f6512ef760ac4..a6995d13e80bc97a73e2cb0d7d3d203960f25261 100644 (file)
@@ -41,6 +41,7 @@ static void str_append(char **buf, const char *repr)
        }
 }
 
+PRINTFRR(2, 3)
 static void str_appendf(char **buf, const char *format, ...)
 {
        va_list ap;