diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2023-01-31 22:04:39 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2023-02-01 03:00:22 +0100 |
commit | e3a7fc502167ee6c3aba7f708b0ceaa64598fde6 (patch) | |
tree | ab82d48c24513a723d4aac9ecb0d55e97e642105 /bgpd | |
parent | lib: apply more `printf` attributes (diff) | |
download | frr-e3a7fc502167ee6c3aba7f708b0ceaa64598fde6.tar.xz frr-e3a7fc502167ee6c3aba7f708b0ceaa64598fde6.zip |
bgpd/rfapi: add missing printf attribute
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/rfapi/rfapi_vty.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/rfapi/rfapi_vty.h b/bgpd/rfapi/rfapi_vty.h index 09e1b3c4c..c8b8613fe 100644 --- a/bgpd/rfapi/rfapi_vty.h +++ b/bgpd/rfapi/rfapi_vty.h @@ -62,7 +62,8 @@ extern int rfapiStr2EthAddr(const char *str, struct ethaddr *ea); extern const char *rfapi_ntop(int af, const void *src, char *buf, socklen_t size); -extern int rfapiDebugPrintf(void *dummy, const char *format, ...); +extern int rfapiDebugPrintf(void *dummy, const char *format, ...) + PRINTFRR(2, 3); extern int rfapiStream2Vty(void *stream, /* input */ int (**fp)(void *, const char *, ...), /* output */ |