summary refs log tree commit diff
path: root/posix/tst-execle2.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-12-27 22:49:45 +0000
committerRoland McGrath <roland@gnu.org>2005-12-27 22:49:45 +0000
commit89c47e9c50290dd946ec4ac94baf81ae3d5da493 (patch)
tree65fd68d3d7467d0d51fd70f4c0bb7e17dfff28af /posix/tst-execle2.c
parent285a709aceecbf236acccf89153a9bef1f4fa5d0 (diff)
downloadglibc-89c47e9c50290dd946ec4ac94baf81ae3d5da493.tar.gz
glibc-89c47e9c50290dd946ec4ac94baf81ae3d5da493.tar.xz
glibc-89c47e9c50290dd946ec4ac94baf81ae3d5da493.zip
2005-12-27 Roland McGrath <roland@redhat.com>
	* posix/tst-execle1.c (do_test): Add a const.
	* posix/tst-execle2.c (do_test): Likewise.
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);