1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r10593: Add printf attribute

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2005-09-28 22:16:08 +00:00 committed by Gerald (Jerry) Carter
parent 8fa383f182
commit ba11061b96

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;