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 /lib/ferr.c | |
parent | Merge pull request #12575 from anlancs/fix/build-vtysh-missing-dir (diff) | |
download | frr-0f9de11a11644b77cc60d6ff6ac4519d2e5c29e1.tar.xz frr-0f9de11a11644b77cc60d6ff6ac4519d2e5c29e1.zip |
*: 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 'lib/ferr.c')
-rw-r--r-- | lib/ferr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ferr.c b/lib/ferr.c index bef7f3b20..4e4152621 100644 --- a/lib/ferr.c +++ b/lib/ferr.c @@ -219,6 +219,7 @@ ferr_r ferr_clear(void) return ferr_ok(); } +PRINTFRR(7, 0) static ferr_r ferr_set_va(const char *file, int line, const char *func, enum ferr_kind kind, const char *pathname, int errno_val, const char *text, va_list va) |