From f027251bdf2a8f85a5fa44639a2f709d59bc51b2 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Tue, 7 Feb 2023 08:28:20 -0600 Subject: fixup! Add syscall to deinit events to prevent blocking on send --- test/eviction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/eviction.c') diff --git a/test/eviction.c b/test/eviction.c index 3a6f801..f7f09a3 100644 --- a/test/eviction.c +++ b/test/eviction.c @@ -38,10 +38,10 @@ main(int argc, const char **argv) printf("\n"); print_counts_raw(counts); - close(fd); - ret = ioctl(fd, KVM_CPC_DEINIT, &arg); if (ret == -1) err(1, "KVM_CPC_DEINIT"); + close(fd); + return arg; } -- cgit v1.2.3-71-gd317