summaryrefslogtreecommitdiff
path: root/pathd/path_pcep_lib.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2023-01-26 14:21:02 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2023-01-27 12:01:17 +0100
commit0f9de11a11644b77cc60d6ff6ac4519d2e5c29e1 (patch)
treec8e418c2049ef79101e62821f2b49506654eb4bd /pathd/path_pcep_lib.c
parente784f789fb7af43027eeee55a3f16026ab36b9e4 (diff)
*: 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 'pathd/path_pcep_lib.c')
-rw-r--r--pathd/path_pcep_lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pathd/path_pcep_lib.c b/pathd/path_pcep_lib.c
index 8e3565d72d..6b247b705f 100644
--- a/pathd/path_pcep_lib.c
+++ b/pathd/path_pcep_lib.c
@@ -38,7 +38,8 @@ DEFINE_MTYPE_STATIC(PATHD, PCEPLIB_MESSAGES, "PCEPlib PCEP Messages");
#define MAX_PATH_NAME_SIZE 255
/* pceplib logging callback */
-static int pceplib_logging_cb(int level, const char *fmt, va_list args);
+static int pceplib_logging_cb(int level, const char *fmt, va_list args)
+ PRINTFRR(2, 0);
/* Socket callbacks */
static int pcep_lib_pceplib_socket_read_cb(void *fpt, void **thread, int fd,