linuxulator: add else case braces to reduce diffs between archs

Sponsored by:	Turing Robotic Industries Inc.
This commit is contained in:
Ed Maste 2018-04-09 19:11:24 +00:00
parent 2967ace894
commit c7fb0e1ddf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=332335

View File

@ -805,13 +805,14 @@ linux_copyout_strings(struct image_params *imgp)
imgp->args->envc + 2 + imgp->auxarg_size) *
sizeof(u_int32_t));
} else
} else {
/*
* The '+ 2' is for the null pointers at the end of each of
* the arg and env vector sets
*/
vectp = (u_int32_t *)(destp - (imgp->args->argc +
imgp->args->envc + 2) * sizeof(u_int32_t));
}
/* vectp also becomes our initial stack base. */
stack_base = vectp;