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 /bgpd/rfapi/rfapi_vty.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 'bgpd/rfapi/rfapi_vty.c')
| -rw-r--r-- | bgpd/rfapi/rfapi_vty.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/rfapi/rfapi_vty.c b/bgpd/rfapi/rfapi_vty.c index 719d898e3c..d04d1ee750 100644 --- a/bgpd/rfapi/rfapi_vty.c +++ b/bgpd/rfapi/rfapi_vty.c @@ -322,6 +322,7 @@ int rfapiDebugPrintf(void *dummy, const char *format, ...) return 0; } +PRINTFRR(2, 3) static int rfapiStdioPrintf(void *stream, const char *format, ...) { FILE *file = NULL; |
