summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarko Kreen2014-06-20 21:13:24 +0000
committerMarko Kreen2014-06-21 18:58:06 +0000
commitb2a54c1dea1bc8e139a035c30a58589c2209a288 (patch)
tree46649a59e8a7b3c5f1be7fa10381abdfb62d88de /test
parentc90a410eccd75b3ebf50ee109fc3f9192e7e3855 (diff)
test_cxalloc: fix printf warning
Diffstat (limited to 'test')
-rw-r--r--test/test_cxalloc.c1
1 files changed, 1 insertions, 0 deletions
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);