diff options
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/sysdb_autofs.c | 2 |
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; } |