From 524c7d4d8c7fb600d39e7e30161ae34e04fcfb5b Mon Sep 17 00:00:00 2001 From: Colin Ian King Date: Sun, 17 Dec 2023 23:12:22 +0000 Subject: [PATCH] stress-vma: voidify returns using VOID_RET macro Signed-off-by: Colin Ian King --- stress-vma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stress-vma.c b/stress-vma.c index ba7609d11..a7632936f 100644 --- a/stress-vma.c +++ b/stress-vma.c @@ -532,8 +532,8 @@ static void stress_vma_loop( sleep(10); stress_vma_continue_flag = false; - (void)kill(pid, SIGKILL); - shim_waitpid(pid, &status, 0); + VOID_RET(int, kill(pid, SIGKILL)); + VOID_RET(int, shim_waitpid(pid, &status, 0)); } while (stress_vma_continue(args)); }