mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 06:20:06 +00:00
(_hurd_startup): Whoops, length args to argz_extract were correct before.
This commit is contained in:
parent
a8fd3594fb
commit
395565f0c8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user