From 40e214e919f8be01d1a2e83968577ecfee85dfb9 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 28 Sep 2005 22:16:08 +0000 Subject: [PATCH] r10593: Add printf attribute Andrew Bartlett (This used to be commit ba11061b96e26900fd09c32b95c2af934c1e2070) --- source4/lib/util_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/lib/util_file.c b/source4/lib/util_file.c index 77066e78cc2..203eccd0cf4 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;