diff options
author | Warner Losh <imp@bsdimp.com> | 2021-04-29 18:47:51 -0600 |
---|---|---|
committer | Warner Losh <imp@bsdimp.com> | 2021-09-10 14:13:06 -0600 |
commit | 223005f0584ece2868b0b5ac11b06f3984aad569 (patch) | |
tree | ded3723a77ebfcffc194b0c7ca6dd26a15c99f65 /util/osdep.c | |
parent | d37853f92f71688cb440e5d18121b97b7ed1c353 (diff) | |
download | qemu-223005f0584ece2868b0b5ac11b06f3984aad569.zip qemu-223005f0584ece2868b0b5ac11b06f3984aad569.tar.gz qemu-223005f0584ece2868b0b5ac11b06f3984aad569.tar.bz2 |
bsd-user: Fix calculation of size to allocate
It was incorrect to subtract off the size of an unsigned int here. In
bsd-user fork, this change was made when moving the arch specific items
to specific files. The size in BSD that's available for the arguments
does not need a return address subtracted from it.
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'util/osdep.c')
0 files changed, 0 insertions, 0 deletions