add printf attribute

This commit is contained in:
christos 2019-05-21 04:09:46 +00:00
parent 8b2a560acf
commit 38217df340
1 changed files with 1 additions and 3 deletions

View File

@ -122,9 +122,7 @@ ATF_TC_HEAD(vasprintf_print, tc)
atf_tc_set_md_var(tc, "descr", "checks vasprintf works");
}
int vasp_helper(char **, const char *, ...);
int
static int __printflike(2, 3)
vasp_helper(char **buf, const char *fmt, ...)
{
va_list ap;