aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2020-11-13 15:17:48 +0800
committerIan Kent <raven@themaw.net>2020-11-13 15:17:48 +0800
commit6848c77becb02325a49d8b74f7966de012c7c304 (patch)
tree8b291c32f9119b571b0de93c5153055883670488
parentf1b1ae359f411e63d4827a8904afe74f00f78632 (diff)
downloadautofs-6848c77becb02325a49d8b74f7966de012c7c304.tar.gz
autofs-5.1.6 - fix typo in open_sss_lib()
Fix obvious typo in modules/lookup_sss.c:open_sss_lib(). Signed-off-by: Ian Kent <raven@themaw.net>
-rw-r--r--CHANGELOG1
-rw-r--r--modules/lookup_sss.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index ebe20cd7..c67eddea 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -20,6 +20,7 @@ xx/xx/2020 autofs-5.1.7
- fix configure force shutdown check.
- fix crash in sun_mount().
- fix lookup_nss_read_master() nsswicth check return.
+- fix typo in open_sss_lib().
07/10/2019 autofs-5.1.6
- support strictexpire mount option.
diff --git a/modules/lookup_sss.c b/modules/lookup_sss.c
index ce60acd3..908752b6 100644
--- a/modules/lookup_sss.c
+++ b/modules/lookup_sss.c
@@ -91,7 +91,7 @@ static int open_sss_lib(struct lookup_context *ctxt)
goto lib_names_fail;
ctxt->endautomntent = (endautomntent_t) dlsym(dh, "_sss_endautomntent");
- if (!ctxt->setautomntent)
+ if (!ctxt->endautomntent)
goto lib_names_fail;
return 0;