Blame SOURCES/autofs-5.1.6-fix-typo-in-open_sss_lib.patch

d702dc
autofs-5.1.6 - fix typo in open_sss_lib()
d702dc
d702dc
From: Ian Kent <raven@themaw.net>
d702dc
d702dc
Fix obvious typo in modules/lookup_sss.c:open_sss_lib().
d702dc
d702dc
Signed-off-by: Ian Kent <raven@themaw.net>
d702dc
---
d702dc
 CHANGELOG            |    1 +
d702dc
 modules/lookup_sss.c |    2 +-
d702dc
 2 files changed, 2 insertions(+), 1 deletion(-)
d702dc
d702dc
diff --git a/CHANGELOG b/CHANGELOG
d702dc
index 3c00184..63c6d41 100644
d702dc
--- a/CHANGELOG
d702dc
+++ b/CHANGELOG
d702dc
@@ -92,6 +92,7 @@ xx/xx/2018 autofs-5.1.5
d702dc
 - add force unlink mounts and exit option.
d702dc
 - cleanup stale logpri fifo pipes on unlink and exit.
d702dc
 - fix lookup_nss_read_master() nsswicth check return.
d702dc
+- fix typo in open_sss_lib().
d702dc
 
d702dc
 19/12/2017 autofs-5.1.4
d702dc
 - fix spec file url.
d702dc
diff --git a/modules/lookup_sss.c b/modules/lookup_sss.c
d702dc
index 7859830..cc18e62 100644
d702dc
--- a/modules/lookup_sss.c
d702dc
+++ b/modules/lookup_sss.c
d702dc
@@ -91,7 +91,7 @@ static int open_sss_lib(struct lookup_context *ctxt)
d702dc
 		goto lib_names_fail;
d702dc
 
d702dc
 	ctxt->endautomntent = (endautomntent_t) dlsym(dh, "_sss_endautomntent");
d702dc
-	if (!ctxt->setautomntent)
d702dc
+	if (!ctxt->endautomntent)
d702dc
 		goto lib_names_fail;
d702dc
 
d702dc
 	return 0;