Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
2005-12-27 Roland McGrath <roland@redhat.com>
	* posix/tst-execle1.c (do_test): Add a const.
	* posix/tst-execle2.c (do_test): Likewise.
  • Loading branch information
Roland McGrath committed Dec 27, 2005
1 parent 285a709 commit 89c47e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion posix/tst-execle1.c
Expand Up @@ -6,7 +6,7 @@ static int
do_test (void)
{
static const char prog[] = "does-not-exist";
char *env [] = {"FOO=BAR", NULL};
const char *env [] = {"FOO=BAR", NULL};
errno = 0;
execle (prog, prog, NULL, env);

Expand Down
2 changes: 1 addition & 1 deletion posix/tst-execle2.c
Expand Up @@ -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);

Expand Down

0 comments on commit 89c47e9

Please sign in to comment.