summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/preadv2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/syscalls/linux/preadv2.cc')
-rw-r--r--test/syscalls/linux/preadv2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/preadv2.cc b/test/syscalls/linux/preadv2.cc
index c9246367d..cd936ea90 100644
--- a/test/syscalls/linux/preadv2.cc
+++ b/test/syscalls/linux/preadv2.cc
@@ -202,7 +202,7 @@ TEST(Preadv2Test, TestInvalidOffset) {
iov[0].iov_len = 0;
EXPECT_THAT(preadv2(fd.get(), iov.get(), /*iovcnt=*/1, /*offset=*/-8,
- /*flags=*/RWF_HIPRI),
+ /*flags=*/0),
SyscallFailsWithErrno(EINVAL));
}