summary refs log tree commit diff
path: root/posix/tst-execle2.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-execle2.c')
-rw-r--r--posix/tst-execle2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/tst-execle2.c b/posix/tst-execle2.c
index 002d4c938f..0430b7b573 100644
--- a/posix/tst-execle2.c
+++ b/posix/tst-execle2.c
@@ -45,7 +45,7 @@ prepare (int argc, char *argv[])
 static int
 do_test (void)
 {
-  char *env[] = {"FOO=BAR", NULL};
+  const char *env[] = {"FOO=BAR", NULL};
   errno = 0;
   execle (copy, copy, NULL, env);