summaryrefslogtreecommitdiffstats
path: root/src/tools/sss_usermod.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-03-21 02:18:48 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-04-12 09:22:17 -0400
commitd86fc9163127f7c5bd0c3af950fcddff7911867f (patch)
tree87616d3c52142d15be2149ba7f42bd6d20551214 /src/tools/sss_usermod.c
parent9fc354f7deb3f0de84f0403ec4f212ca18b5e8e8 (diff)
downloadsssd-d86fc9163127f7c5bd0c3af950fcddff7911867f.tar.gz
sssd-d86fc9163127f7c5bd0c3af950fcddff7911867f.tar.xz
sssd-d86fc9163127f7c5bd0c3af950fcddff7911867f.zip
tools: remove creation of event_context
Since the sysdb is now synchronous and creates its own event context we don't need an explicit event context anymore in the tools.
Diffstat (limited to 'src/tools/sss_usermod.c')
-rw-r--r--src/tools/sss_usermod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/sss_usermod.c b/src/tools/sss_usermod.c
index 43e685c55..54e3304ff 100644
--- a/src/tools/sss_usermod.c
+++ b/src/tools/sss_usermod.c
@@ -141,7 +141,7 @@ int main(int argc, const char **argv)
goto fini;
}
/* check the username to be able to give sensible error message */
- ret = sysdb_getpwnam_sync(tctx, tctx->ev, tctx->sysdb,
+ ret = sysdb_getpwnam_sync(tctx, tctx->sysdb,
tctx->octx->name, tctx->local,
tctx->octx);
if (ret != EOK) {