diff options
| author | Louis Burda <quent.burda@gmail.com> | 2023-02-07 08:28:20 -0600 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2023-02-07 08:28:20 -0600 |
| commit | f027251bdf2a8f85a5fa44639a2f709d59bc51b2 (patch) | |
| tree | 9c05093e0334235eee180e5b1409d09fd2ab4bac /test/eviction.c | |
| parent | c1f2064fda3711db4878376884c36979c7b470cc (diff) | |
| download | cachepc-f027251bdf2a8f85a5fa44639a2f709d59bc51b2.tar.gz cachepc-f027251bdf2a8f85a5fa44639a2f709d59bc51b2.zip | |
fixup! Add syscall to deinit events to prevent blocking on send
Diffstat (limited to 'test/eviction.c')
| -rw-r--r-- | test/eviction.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |
