summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/sss_selinux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/sss_selinux.c b/src/util/sss_selinux.c
index dcac9ee60..5315c9c03 100644
--- a/src/util/sss_selinux.c
+++ b/src/util/sss_selinux.c
@@ -216,8 +216,8 @@ errno_t sss_selinux_extract_user(TALLOC_CTX *mem_ctx,
attrs[1] = SYSDB_ORIG_MEMBEROF;
attrs[2] = NULL;
- ret = sysdb_search_user_by_name(tmp_ctx, sysdb, domain, username,
- attrs, &user_msg);
+ ret = sysdb_search_user_by_name(tmp_ctx, domain, username, attrs,
+ &user_msg);
if (ret != EOK) {
DEBUG(SSSDBG_OP_FAILURE, ("sysdb_search_user_by_name failed.\n"));
goto done;