summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nss/aliases.c4
-rw-r--r--nss/group.c4
-rw-r--r--nss/hosts.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/nss/aliases.c b/nss/aliases.c
index 5a72b1f..dfc05d3 100644
--- a/nss/aliases.c
+++ b/nss/aliases.c
@@ -61,8 +61,8 @@ enum nss_status _nss_ldap_getaliasbyname_r(
}
/* thread-local file pointer to an ongoing request */
-static __thread FILE *pwentfp;
-#define fp pwentfp
+static __thread FILE *aliasentfp;
+#define fp aliasentfp
enum nss_status _nss_ldap_setaliasent(void)
{
diff --git a/nss/group.c b/nss/group.c
index 0dcfd38..584b633 100644
--- a/nss/group.c
+++ b/nss/group.c
@@ -137,8 +137,8 @@ enum nss_status _nss_ldap_initgroups_dyn(
}
/* thread-local file pointer to an ongoing request */
-static __thread FILE *pwentfp;
-#define fp pwentfp
+static __thread FILE *grentfp;
+#define fp grentfp
enum nss_status _nss_ldap_setgrent(void)
{
diff --git a/nss/hosts.c b/nss/hosts.c
index 4ec2923..2894300 100644
--- a/nss/hosts.c
+++ b/nss/hosts.c
@@ -179,8 +179,8 @@ enum nss_status _nss_ldap_gethostbyaddr_r(
}
/* thread-local file pointer to an ongoing request */
-static __thread FILE *pwentfp;
-#define fp pwentfp
+static __thread FILE *hostentfp;
+#define fp hostentfp
enum nss_status _nss_ldap_sethostent(void)
{