summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2023-01-31 22:04:39 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2023-02-01 03:00:22 +0100
commite3a7fc502167ee6c3aba7f708b0ceaa64598fde6 (patch)
treeab82d48c24513a723d4aac9ecb0d55e97e642105 /bgpd
parentlib: apply more `printf` attributes (diff)
downloadfrr-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.h3
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 */