summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/util_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/util_file.c b/source4/lib/util_file.c
index 77066e78cc..203eccd0cf 100644
--- a/source4/lib/util_file.c
+++ b/source4/lib/util_file.c
@@ -358,7 +358,7 @@ BOOL file_exists(const char *path)
return (stat(path, &st) == 0);
}
-int vfdprintf(int fd, const char *format, va_list ap)
+int vfdprintf(int fd, const char *format, va_list ap) _PRINTF_ATTRIBUTE(2,0)
{
char *p;
int len, ret;