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 <[email protected]> Signed-off-by: Akihiko Odaki <[email protected]> Message-Id: <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
- Loading branch information