projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c90a410
)
test_cxalloc: fix printf warning
author
Marko Kreen
<markokr@gmail.com>
Fri, 20 Jun 2014 21:13:24 +0000
(
00:13
+0300)
committer
Marko Kreen
<markokr@gmail.com>
Sat, 21 Jun 2014 18:58:06 +0000
(21:58 +0300)
test/test_cxalloc.c
patch
|
blob
|
blame
|
history
diff --git
a/test/test_cxalloc.c
b/test/test_cxalloc.c
index cd33325a53614d4784fa83c55079c1e792a23978..267f314832827f68f5c7125dfcdbfbce6b5e721a 100644
(file)
--- 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);