summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-22 21:21:27 +0000
committerMiles Bader <miles@gnu.org>1996-05-22 21:21:27 +0000
commit395565f0c8830f1c53ee15391914d67fcf1489a0 (patch)
tree70dd398212bad1ca4100115640d6ee69b4c870a6
parenta8fd3594fb1e4f2dd3cb0a361cc6fa4b2b02eafc (diff)
downloadglibc-395565f0c8830f1c53ee15391914d67fcf1489a0.tar.gz
(_hurd_startup): Whoops, length args to argz_extract were correct before.
-rw-r--r--hurd/hurdstartup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hurd/hurdstartup.c b/hurd/hurdstartup.c
index b4721d7ef7..577be1e0b0 100644
--- a/hurd/hurdstartup.c
+++ b/hurd/hurdstartup.c
@@ -136,12 +136,12 @@ _hurd_startup (void **argptr, void (*main) (int *data))
sizeof (struct hurd_startup_data));
*argcptr = argc;
argv = (void *) (argcptr + 1);
- __argz_extract (args, argc, argv);
+ __argz_extract (args, argslen, argv);
argv[argc] = 0;
/* There was some environment. */
envp = &argv[argc + 1];
- __argz_extract (env, envc, envp);
+ __argz_extract (env, envlen, envp);
envp[envc] = 0;
}