summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/sysdb_search.c')
-rw-r--r--src/db/sysdb_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/sysdb_search.c b/src/db/sysdb_search.c
index f5cd2cf7..2a09c5b4 100644
--- a/src/db/sysdb_search.c
+++ b/src/db/sysdb_search.c
@@ -328,7 +328,7 @@ int sysdb_enumgrent(TALLOC_CTX *mem_ctx,
}
ret = ldb_search(sysdb->ldb, tmp_ctx, &res, base_dn,
- LDB_SCOPE_SUBTREE, attrs, fmt_filter);
+ LDB_SCOPE_SUBTREE, attrs, "%s", fmt_filter);
if (ret) {
ret = sysdb_error_to_errno(ret);
goto done;