diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-08-25 07:15:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:21 -0500 |
commit | 5e869b4eabaf428b36b5bc158ab4047d25e3eb5b (patch) | |
tree | 927baab313e642e2f2800e0d1439e7be7f3673b0 /source4/rpc_server/spoolss | |
parent | 18797d8c70afc383aa7c67003646efb8ecfd7e4f (diff) | |
download | samba-5e869b4eabaf428b36b5bc158ab4047d25e3eb5b.tar.gz samba-5e869b4eabaf428b36b5bc158ab4047d25e3eb5b.tar.bz2 samba-5e869b4eabaf428b36b5bc158ab4047d25e3eb5b.zip |
r2055: Add PRINTF_ATTRIBUTE to many more parts of the code, and a new
--enable-developer warning for when they are missing.
Andrew Bartlett
(This used to be commit 8115e44d47bcd65edba08d10117180ae508cdbc1)
Diffstat (limited to 'source4/rpc_server/spoolss')
-rw-r--r-- | source4/rpc_server/spoolss/spoolssdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/spoolss/spoolssdb.c b/source4/rpc_server/spoolss/spoolssdb.c index 94f91b4f16..a19ad14981 100644 --- a/source4/rpc_server/spoolss/spoolssdb.c +++ b/source4/rpc_server/spoolss/spoolssdb.c @@ -30,7 +30,7 @@ struct spoolssdb_context { /* this is used to catch debug messages from ldb */ -void spoolssdb_debug(void *context, enum ldb_debug_level level, const char *fmt, va_list ap) +void spoolssdb_debug(void *context, enum ldb_debug_level level, const char *fmt, va_list ap) _PRINTF_ATTRIBUTE(3, 0) { char *s = NULL; if (DEBUGLEVEL < 4 && level > LDB_DEBUG_WARNING) { |