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 | c695bdbedb9b377755bc4fd7ca5215e8f9ba9758 (diff) | |
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 09e1b3c4c4..c8b8613feb 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 */  | 
