summaryrefslogtreecommitdiff
path: root/env/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/common.c')
-rw-r--r--env/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/env/common.c b/env/common.c
index 110323ecea..71613aa9de 100644
--- a/env/common.c
+++ b/env/common.c
@@ -31,7 +31,7 @@ struct hsearch_data env_htab = {
* Read an environment variable as a boolean
* Return -1 if variable does not exist (default to true)
*/
-int getenv_yesno(const char *var)
+int env_get_yesno(const char *var)
{
char *s = env_get(var);