Skip to content

Commit

Permalink
stress-vma: voidify returns using VOID_RET macro
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Ian King <[email protected]>
  • Loading branch information
ColinIanKing committed Dec 17, 2023
1 parent 3fc2f11 commit 524c7d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stress-vma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 524c7d4

Please sign in to comment.