summaryrefslogtreecommitdiffstats
path: root/src/responder/autofs
diff options
context:
space:
mode:
Diffstat (limited to 'src/responder/autofs')
-rw-r--r--src/responder/autofs/autofssrv_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/responder/autofs/autofssrv_cmd.c b/src/responder/autofs/autofssrv_cmd.c
index 73dbc5ea..2be87290 100644
--- a/src/responder/autofs/autofssrv_cmd.c
+++ b/src/responder/autofs/autofssrv_cmd.c
@@ -436,7 +436,7 @@ setautomntent_send(TALLOC_CTX *mem_ctx,
DEBUG(SSSDBG_TRACE_LIBS,
("Map %s is being looked up, registering for notification\n",
state->mapname));
- ret = autofs_setent_add_ref(cmdctx->cctx, state->map, req);
+ ret = autofs_setent_add_ref(state, state->map, req);
if (ret != EOK) {
goto fail;
}
@@ -460,7 +460,7 @@ setautomntent_send(TALLOC_CTX *mem_ctx,
}
state->map->map_table = actx->maps;
- ret = autofs_setent_add_ref(cmdctx->cctx, state->map, req);
+ ret = autofs_setent_add_ref(state, state->map, req);
if (ret != EOK) {
talloc_free(state->map);
goto fail;