summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-09-28 22:16:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:08 -0500
commit40e214e919f8be01d1a2e83968577ecfee85dfb9 (patch)
tree1dd48180fab0792bbd0e7e4134dade0a95e1cb0f
parent87af8061c760b7d1eaa596183ac1635af73524b4 (diff)
downloadsamba-40e214e919f8be01d1a2e83968577ecfee85dfb9.tar.gz
samba-40e214e919f8be01d1a2e83968577ecfee85dfb9.tar.bz2
samba-40e214e919f8be01d1a2e83968577ecfee85dfb9.zip
r10593: Add printf attribute
Andrew Bartlett (This used to be commit ba11061b96e26900fd09c32b95c2af934c1e2070)
-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;