Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux-user: Do not call get_errno() in do_brk()
Later the returned value is compared with -1, and negated errno is not expected. Fixes: 00faf08 ("linux-user: Don't use MAP_FIXED in do_brk()") Reviewed-by: Helge Deller <deller@gmx.de> Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Message-Id: <20230802071754.14876-4-akihiko.odaki@daynix.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
- Loading branch information