mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
kcc: Fix a -Werror,-Wformat-security error
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Sep 2 13:54:45 CEST 2016 on sn-devel-144
This commit is contained in:
parent
3430c6a09e
commit
a7735bedd5
@ -149,7 +149,7 @@ NTSTATUS dsdb_garbage_collect_tombstones(TALLOC_CTX *mem_ctx,
|
||||
DSDB_SEARCH_SHOW_DN_IN_STORAGE_FORMAT |
|
||||
DSDB_SEARCH_REVEAL_INTERNALS;
|
||||
ret = dsdb_search(samdb, tmp_ctx, &res, part->dn, LDB_SCOPE_SUBTREE,
|
||||
attrs, flags, filter);
|
||||
attrs, flags, "%s", filter);
|
||||
|
||||
if (ret != LDB_SUCCESS) {
|
||||
*error_string = talloc_asprintf(mem_ctx, "Failed to search for deleted objects in %s: %s",
|
||||
|
Loading…
Reference in New Issue
Block a user