summary refs log tree commit diff
path: root/posix/tst-execle1.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-04-01 15:13:31 +0000
committerJakub Jelinek <jakub@redhat.com>2005-04-01 15:13:31 +0000
commite8eaba2b25948c0e60f70c33c5c52aad70bbf5fc (patch)
tree020566c0ffd2d27131ee7bac45eea5560a4732bd /posix/tst-execle1.c
parente3166b6660ce5f0640242a4806a380bb651a2291 (diff)
downloadglibc-e8eaba2b25948c0e60f70c33c5c52aad70bbf5fc.tar.gz
glibc-e8eaba2b25948c0e60f70c33c5c52aad70bbf5fc.tar.xz
glibc-e8eaba2b25948c0e60f70c33c5c52aad70bbf5fc.zip
Updated to fedora-glibc-20050401T1444
Diffstat (limited to 'posix/tst-execle1.c')
-rw-r--r--posix/tst-execle1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/tst-execle1.c b/posix/tst-execle1.c
index adea0a8d46..bacf51b1a2 100644
--- a/posix/tst-execle1.c
+++ b/posix/tst-execle1.c
@@ -6,8 +6,9 @@ static int
 do_test (void)
 {
   static const char prog[] = "does-not-exist";
+  char *env [] = {"FOO=BAR", NULL};
   errno = 0;
-  execle (prog, prog, NULL, "FOO=BAR", NULL);
+  execle (prog, prog, NULL, env);
 
   if (errno != ENOENT)
     {