summaryrefslogtreecommitdiffstats
path: root/env/callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/callback.c')
-rw-r--r--env/callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/env/callback.c b/env/callback.c
index d539da93aa..d5469ce3c2 100644
--- a/env/callback.c
+++ b/env/callback.c
@@ -98,7 +98,7 @@ static int set_callback(const char *name, const char *value, void *priv)
e.key = name;
e.data = NULL;
e.callback = NULL;
- hsearch_r(e, FIND, &ep, &env_htab, 0);
+ hsearch_r(e, ENV_FIND, &ep, &env_htab, 0);
/* does the env variable actually exist? */
if (ep != NULL) {