diff options
author | Amitay Isaacs <amitay@gmail.com> | 2016-08-08 14:16:29 +1000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-08-24 01:33:50 +0200 |
commit | 4b4d3643555a68f585e38e37604ed4ecae9137f5 (patch) | |
tree | 987a4a70d15e1ec6f54893be98bb798e5a880ec9 /source3/include/tldap_util.h | |
parent | e9b8751b587c1eabc4c1a7a7d75e3c4498c6ffc4 (diff) | |
download | samba-4b4d3643555a68f585e38e37604ed4ecae9137f5.tar.gz |
s3-include: Fix format-nonliteral warning
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12168
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/include/tldap_util.h')
-rw-r--r-- | source3/include/tldap_util.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/include/tldap_util.h b/source3/include/tldap_util.h index f9d088cb639..5da0c94099b 100644 --- a/source3/include/tldap_util.h +++ b/source3/include/tldap_util.h @@ -45,18 +45,19 @@ bool tldap_make_mod_blob(struct tldap_message *existing, TALLOC_CTX *mem_ctx, const char *attrib, DATA_BLOB newval); bool tldap_make_mod_fmt(struct tldap_message *existing, TALLOC_CTX *mem_ctx, struct tldap_mod **pmods, int *pnum_mods, - const char *attrib, const char *fmt, ...); + const char *attrib, const char *fmt, ...) + PRINTF_ATTRIBUTE(6,7); const char *tldap_errstr(TALLOC_CTX *mem_ctx, struct tldap_context *ld, TLDAPRC rc); TLDAPRC tldap_search_va(struct tldap_context *ld, const char *base, int scope, const char *attrs[], int num_attrs, int attrsonly, TALLOC_CTX *mem_ctx, struct tldap_message ***res, - const char *fmt, va_list ap); + const char *fmt, va_list ap) PRINTF_ATTRIBUTE(9,0); TLDAPRC tldap_search_fmt(struct tldap_context *ld, const char *base, int scope, const char *attrs[], int num_attrs, int attrsonly, TALLOC_CTX *mem_ctx, struct tldap_message ***res, - const char *fmt, ...); + const char *fmt, ...) PRINTF_ATTRIBUTE(9,10); bool tldap_pull_uint64(struct tldap_message *msg, const char *attr, uint64_t *presult); bool tldap_pull_uint32(struct tldap_message *msg, const char *attr, |