aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/linux32/linux32_sysvec.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-04-09 19:11:24 +0000
committerEd Maste <emaste@FreeBSD.org>2018-04-09 19:11:24 +0000
commitc7fb0e1ddf717f58e069fd2339b05370b41df3ce (patch)
tree11b08ebc0023b647936356a05bc443b0ea72c68c /sys/amd64/linux32/linux32_sysvec.c
parent2967ace8944fab03e4e3c69fa18ac170417996d3 (diff)
downloadsrc-c7fb0e1ddf717f58e069fd2339b05370b41df3ce.tar.gz
src-c7fb0e1ddf717f58e069fd2339b05370b41df3ce.zip
linuxulator: add else case braces to reduce diffs between archs
Sponsored by: Turing Robotic Industries Inc.
Notes
Notes: svn path=/head/; revision=332335
Diffstat (limited to 'sys/amd64/linux32/linux32_sysvec.c')
-rw-r--r--sys/amd64/linux32/linux32_sysvec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c
index a7d31c3acc19..3bc83a263f1b 100644
--- a/sys/amd64/linux32/linux32_sysvec.c
+++ b/sys/amd64/linux32/linux32_sysvec.c
@@ -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;