summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-12-15 13:18:16 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-12-18 17:25:34 +0100
commit6ab9f4763b516c3a7cdc021f501f276dd805fc97 (patch)
treebe7bb2bab459ce88680814b76037e5d3915e6821 /src/db
parentdcb712782ed81cd19fc5d9a5dab37e50294d6f2e (diff)
downloadsssd-6ab9f4763b516c3a7cdc021f501f276dd805fc97.tar.gz
sssd-6ab9f4763b516c3a7cdc021f501f276dd805fc97.tar.bz2
sssd-6ab9f4763b516c3a7cdc021f501f276dd805fc97.zip
SYSDB: fix copy-n-paste error
Diffstat (limited to 'src/db')
-rw-r--r--src/db/sysdb_autofs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/sysdb_autofs.c b/src/db/sysdb_autofs.c
index c5ec4c8c..cbef2dfa 100644
--- a/src/db/sysdb_autofs.c
+++ b/src/db/sysdb_autofs.c
@@ -195,7 +195,7 @@ sysdb_get_map_byname(TALLOC_CTX *mem_ctx,
filter = talloc_asprintf(tmp_ctx, "(&(objectclass=%s)(%s=%s))",
SYSDB_AUTOFS_MAP_OC, SYSDB_NAME, safe_map_name);
if (!filter) {
- ret = EOK;
+ ret = ENOMEM;
goto done;
}