aboutsummaryrefslogtreecommitdiff
path: root/posix/tst-spawn.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-spawn.c')
-rw-r--r--posix/tst-spawn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/tst-spawn.c b/posix/tst-spawn.c
index b45e0d885e..eea5addbf3 100644
--- a/posix/tst-spawn.c
+++ b/posix/tst-spawn.c
@@ -154,7 +154,7 @@ do_test (int argc, char *argv[])
char fd4name[18];
char fd5name[18];
char *name3_copy;
- char *spargv[12];
+ char *spargv[13];
int i;
/* We must have
@@ -169,7 +169,7 @@ do_test (int argc, char *argv[])
+ the newly opened file descriptor
+ the duped second descriptor
+ the name of the closed descriptor
- + the duped fourth dile descriptor which O_CLOEXEC should be
+ + the duped fourth file descriptor which O_CLOEXEC should be
remove by adddup2.
*/
if (argc != (restart ? 7 : 2) && argc != (restart ? 7 : 5))