diff options
author | Renato Botelho <renato@netgate.com> | 2016-04-28 11:34:22 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-04-28 11:34:22 -0300 |
commit | d1ef4e7974b0b2817406da15fd95d9f836aa1912 (patch) | |
tree | be0fc739c69cdd44a57a5c6abe9001c070bf335f /sys/amd64/linux/linux_sysvec.c | |
parent | 6f331e8a44f8f914e7cd1813a5e96d20c55891e5 (diff) | |
parent | 1d5d3749a4b560c02782ced59660844e31c631a9 (diff) | |
download | FreeBSD-src-d1ef4e7974b0b2817406da15fd95d9f836aa1912.zip FreeBSD-src-d1ef4e7974b0b2817406da15fd95d9f836aa1912.tar.gz |
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'sys/amd64/linux/linux_sysvec.c')
-rw-r--r-- | sys/amd64/linux/linux_sysvec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/linux/linux_sysvec.c b/sys/amd64/linux/linux_sysvec.c index fc8ee3e..13f9199 100644 --- a/sys/amd64/linux/linux_sysvec.c +++ b/sys/amd64/linux/linux_sysvec.c @@ -346,7 +346,7 @@ linux_copyout_strings(struct image_params *imgp) destp = (caddr_t)arginfo - SPARE_USRSPACE - roundup(sizeof(canary), sizeof(char *)) - roundup(execpath_len, sizeof(char *)) - - roundup((ARG_MAX - imgp->args->stringspace), sizeof(char *)); + roundup(ARG_MAX - imgp->args->stringspace, sizeof(char *)); if (execpath_len != 0) { imgp->execpathp = (uintptr_t)arginfo - execpath_len; |