diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2023-01-26 14:21:02 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2023-01-27 12:01:17 +0100 |
| commit | 0f9de11a11644b77cc60d6ff6ac4519d2e5c29e1 (patch) | |
| tree | c8e418c2049ef79101e62821f2b49506654eb4bd /lib/clippy.c | |
| parent | e784f789fb7af43027eeee55a3f16026ab36b9e4 (diff) | |
*: apply proper format string attributes
So that we get warnings about broken format strings.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/clippy.c')
| -rw-r--r-- | lib/clippy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/clippy.c b/lib/clippy.c index 7ca99c9a94..1c27f857ba 100644 --- a/lib/clippy.c +++ b/lib/clippy.c @@ -108,6 +108,7 @@ int main(int argc, char **argv) #include "log.h" +PRINTFRR(3, 0) void vzlogx(const struct xref_logmsg *xref, int prio, const char *format, va_list args) { |
