summaryrefslogtreecommitdiff
path: root/utils/check_expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/check_expr.c')
-rw-r--r--utils/check_expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/check_expr.c b/utils/check_expr.c
index 009fe8673..260fd4e2e 100644
--- a/utils/check_expr.c
+++ b/utils/check_expr.c
@@ -40,7 +40,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
* ast_str_set_va(...)
* ast_str_append_va(...)
*/
-int __ast_str_helper(struct ast_str **buf, size_t max_len,
+int __attribute__((format (printf, 4, 0))) __ast_str_helper(struct ast_str **buf, size_t max_len,
int append, const char *fmt, va_list ap)
{
int res, need;