From a746483fd8eda59a0f42719186912ceabba2f4ac Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 2 Jan 2003 12:54:02 +0000 Subject: Add PRINTF_ATTRIBUTE() to a few more printf() style functions. Aids in compiler-based argument checking. (This used to be commit 16fe928e68623a878b125910ff83df500a29d0ce) --- source3/lib/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/util.c') diff --git a/source3/lib/util.c b/source3/lib/util.c index 39c58534cd..67de9e4bf2 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2080,7 +2080,7 @@ char *smb_xstrndup(const char *s, size_t n) vasprintf that aborts on malloc fail */ -int smb_xvasprintf(char **ptr, const char *format, va_list ap) + int smb_xvasprintf(char **ptr, const char *format, va_list ap) { int n; va_list ap2; -- cgit