svn commit: samba r10593 - in branches/SAMBA_4_0/source/lib: .

abartlet at samba.org abartlet at samba.org
Wed Sep 28 22:16:08 GMT 2005


Author: abartlet
Date: 2005-09-28 22:16:08 +0000 (Wed, 28 Sep 2005)
New Revision: 10593

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10593

Log:
Add printf attribute

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/lib/util_file.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/util_file.c
===================================================================
--- branches/SAMBA_4_0/source/lib/util_file.c	2005-09-28 21:54:29 UTC (rev 10592)
+++ branches/SAMBA_4_0/source/lib/util_file.c	2005-09-28 22:16:08 UTC (rev 10593)
@@ -358,7 +358,7 @@
 	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;



More information about the samba-cvs mailing list