summaryrefslogtreecommitdiff
path: root/posix/tst-execle2.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-04-06 03:52:05 +0000
committerRoland McGrath <roland@gnu.org>2005-04-06 03:52:05 +0000
commit1ecd9cbca5e91bea3bdbb6a9cfb585e63417bc4b (patch)
tree529364a2572a124a159dd47998854329c226f93a /posix/tst-execle2.c
parent864cb7911aa7dd4f638364d7a11638c19ba897a7 (diff)
downloadglibc-1ecd9cbca5e91bea3bdbb6a9cfb585e63417bc4b.tar.gz
Updated to fedora-glibc-2_3-20050406T0344
Diffstat (limited to 'posix/tst-execle2.c')
-rw-r--r--posix/tst-execle2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/tst-execle2.c b/posix/tst-execle2.c
index fb9b09b423..002d4c938f 100644
--- a/posix/tst-execle2.c
+++ b/posix/tst-execle2.c
@@ -45,8 +45,9 @@ prepare (int argc, char *argv[])
static int
do_test (void)
{
+ char *env[] = {"FOO=BAR", NULL};
errno = 0;
- execle (copy, copy, NULL, "FOO=BAR", NULL);
+ execle (copy, copy, NULL, env);
if (errno != EACCES)
{