From: Miles Bader Date: Wed, 22 May 1996 21:21:27 +0000 (+0000) Subject: (_hurd_startup): Whoops, length args to argz_extract were correct before. X-Git-Tag: cvs/libc-960523~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=395565f0c8830f1c53ee15391914d67fcf1489a0;p=platform%2Fupstream%2Fglibc.git (_hurd_startup): Whoops, length args to argz_extract were correct before. --- diff --git a/hurd/hurdstartup.c b/hurd/hurdstartup.c index b4721d7..577be1e 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; }