summaryrefslogtreecommitdiff
path: root/source3/lib/system.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-02 12:54:02 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-02 12:54:02 +0000
commita746483fd8eda59a0f42719186912ceabba2f4ac (patch)
tree41bcf9c9781d572ba675c2a233e969956ed5accf /source3/lib/system.c
parente030b91bf8416654007daa1f493b36fb59cf5b58 (diff)
downloadsamba-a746483fd8eda59a0f42719186912ceabba2f4ac.tar.gz
samba-a746483fd8eda59a0f42719186912ceabba2f4ac.tar.bz2
samba-a746483fd8eda59a0f42719186912ceabba2f4ac.zip
Add PRINTF_ATTRIBUTE() to a few more printf() style functions. Aids in
compiler-based argument checking. (This used to be commit 16fe928e68623a878b125910ff83df500a29d0ce)
Diffstat (limited to 'source3/lib/system.c')
-rw-r--r--source3/lib/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index fed9b117ca..18cccda935 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -1233,7 +1233,7 @@ int sys_dup2(int oldfd, int newfd)
Wrapper for Admin Logs.
****************************************************************************/
-void sys_adminlog(int priority, const char *format_str, ...)
+ void sys_adminlog(int priority, const char *format_str, ...)
{
va_list ap;
int ret;