summary refs log tree commit diff
path: root/string/envz.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/envz.c')
-rw-r--r--string/envz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/envz.c b/string/envz.c
index 5bba829f81..e1487043e3 100644
--- a/string/envz.c
+++ b/string/envz.c
@@ -60,7 +60,7 @@ envz_entry (const char *envz, size_t envz_len, const char *name)
 char *
 envz_get (const char *envz, size_t envz_len, const char *name)
 {
-  const char *entry = envz_entry (envz, envz_len, name);
+  char *entry = envz_entry (envz, envz_len, name);
   if (entry)
     {
       while (*entry && *entry != SEP)