From 21ca60f9875c97a13848bb2298282b006e472b04 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 25 Oct 2016 13:11:12 -0400 Subject: [PATCH] otutil: Note that ot_log_structured takes a printf format This notably fixes compilation with CLang. Closes: #548 Approved by: jlebon --- src/libotutil/ot-log-utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libotutil/ot-log-utils.h b/src/libotutil/ot-log-utils.h index 5e0502ab..8d9786de 100644 --- a/src/libotutil/ot-log-utils.h +++ b/src/libotutil/ot-log-utils.h @@ -26,6 +26,6 @@ G_BEGIN_DECLS void ot_log_structured_print_id_v (const char *message_id, const char *format, - ...); + ...) G_GNUC_PRINTF(2, 3); G_END_DECLS