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

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