1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

r10593: Add printf attribute

Andrew Bartlett
(This used to be commit ba11061b96e26900fd09c32b95c2af934c1e2070)
This commit is contained in:
Andrew Bartlett 2005-09-28 22:16:08 +00:00 committed by Gerald (Jerry) Carter
parent 87af8061c7
commit 40e214e919

View File

@ -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;