Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syscalls: Add missing exit status check
Check exit code via WEXITSTATUS(). Also in madvise08 change exit code to 0 (1 may confuse people into thinking that the return value actually carries any information, which it does not since the failure has been already reported. 0 makes it more clear that we just need to exit the process, nothing more.) Link: https://lore.kernel.org/ltp/[email protected]/ Reviewed-by: Cyril Hrubis <[email protected]> Signed-off-by: Petr Vorel <[email protected]>
- Loading branch information