aboutsummaryrefslogtreecommitdiffstats
path: root/mem-pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'mem-pool.h')
-rw-r--r--mem-pool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mem-pool.h b/mem-pool.h
index d1c66413ec..321d86a63c 100644
--- a/mem-pool.h
+++ b/mem-pool.h
@@ -50,6 +50,7 @@ char *mem_pool_strndup(struct mem_pool *pool, const char *str, size_t len);
/*
* Allocate memory from the memory pool and format a string into it.
*/
+__attribute__((format (printf, 2, 3)))
char *mem_pool_strfmt(struct mem_pool *pool, const char *fmt, ...);
/*