shithub: choc

Download patch

ref: e045c7670fb5b474b2b65ded47b98ff605da7ae0
parent: 5738407665325ab68fec11ce3be21fe8842d093a
author: Turo Lamminen <[email protected]>
date: Tue Feb 13 14:43:19 EST 2018

Add format attribute to formatted_printf

--- a/src/net_query.c
+++ b/src/net_query.c
@@ -642,6 +642,7 @@
 
 // -----------------------------------------------------------------------
 
+static void formatted_printf(int wide, char *s, ...) PRINTF_ATTR(2, 3);
 static void formatted_printf(int wide, char *s, ...)
 {
     va_list args;