1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-31 01:48:16 +03:00

Fix clang 9 format-nonliteral warning

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Gary Lockyer 2020-08-27 13:50:16 +12:00 committed by Jeremy Allison
parent e3079c5387
commit 2e37d22499

View File

@ -254,10 +254,11 @@ static TLDAPRC get_posix_schema_names(struct tldap_context *ld,
return TLDAP_SUCCESS;
}
static void idmap_ad_tldap_debug(void *log_private,
enum tldap_debug_level level,
const char *fmt,
va_list ap)
static void PRINTF_ATTRIBUTE(3, 0) idmap_ad_tldap_debug(
void *log_private,
enum tldap_debug_level level,
const char *fmt,
va_list ap)
{
int samba_level = -1;