Date: Mon, 9 Apr 2018 19:11:24 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r332335 - head/sys/amd64/linux32 Message-ID: <201804091911.w39JBOIi006249@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Mon Apr 9 19:11:24 2018 New Revision: 332335 URL: https://svnweb.freebsd.org/changeset/base/332335 Log: linuxulator: add else case braces to reduce diffs between archs Sponsored by: Turing Robotic Industries Inc. Modified: head/sys/amd64/linux32/linux32_sysvec.c Modified: head/sys/amd64/linux32/linux32_sysvec.c ============================================================================== --- head/sys/amd64/linux32/linux32_sysvec.c Mon Apr 9 17:30:30 2018 (r332334) +++ head/sys/amd64/linux32/linux32_sysvec.c Mon Apr 9 19:11:24 2018 (r332335) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804091911.w39JBOIi006249>