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

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