From 3d720b9a2cfb4e2fd5c6e1b5b54081707930fcc2 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 11 2020 22:13:22 +0000 Subject: Apply patch autofs-5.1.6-fix-typo-in-open_sss_lib.patch patch_name: autofs-5.1.6-fix-typo-in-open_sss_lib.patch present_in_specfile: true --- diff --git a/CHANGELOG b/CHANGELOG index 3c00184..63c6d41 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -92,6 +92,7 @@ xx/xx/2018 autofs-5.1.5 - add force unlink mounts and exit option. - cleanup stale logpri fifo pipes on unlink and exit. - fix lookup_nss_read_master() nsswicth check return. +- fix typo in open_sss_lib(). 19/12/2017 autofs-5.1.4 - fix spec file url. diff --git a/modules/lookup_sss.c b/modules/lookup_sss.c index 7859830..cc18e62 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;