From b2a54c1dea1bc8e139a035c30a58589c2209a288 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Sat, 21 Jun 2014 00:13:24 +0300 Subject: [PATCH] test_cxalloc: fix printf warning --- test/test_cxalloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_cxalloc.c b/test/test_cxalloc.c index cd33325..267f314 100644 --- a/test/test_cxalloc.c +++ b/test/test_cxalloc.c @@ -13,6 +13,7 @@ static void reset(void) logbuf[0] = 0; } +_PRINTF(1,2) static void m_log(const char *fmt, ...) { size_t len = strlen(logbuf); -- 2.39.5