diff options
| author | David Lamparter <equinox@diac24.net> | 2019-06-12 17:08:01 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-06-12 19:35:43 +0200 |
| commit | afb35622ef61212f0fe960a31c2326a9379bceae (patch) | |
| tree | a3e691f3bd7e9d59871462d1bab8bdef63d3dd24 /lib/vty.h | |
| parent | c7179009cf1713db55d48e6ab1275ac00be555ac (diff) | |
lib: make "%Ld" work for int64_t
... without compiler plugins.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/vty.h')
| -rw-r--r-- | lib/vty.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -302,8 +302,8 @@ extern struct vty *vty_stdio(void (*atclose)(int isexit)); * - vty_endframe() clears the buffer without printing it, and prints an * extra string if the buffer was empty before (for context-end markers) */ -extern int vty_out(struct vty *, const char *, ...) PRINTF_ATTRIBUTE(2, 3); -extern void vty_frame(struct vty *, const char *, ...) PRINTF_ATTRIBUTE(2, 3); +extern int vty_out(struct vty *, const char *, ...) PRINTFRR(2, 3); +extern void vty_frame(struct vty *, const char *, ...) PRINTFRR(2, 3); extern void vty_endframe(struct vty *, const char *); bool vty_set_include(struct vty *vty, const char *regexp); |
