summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/chroot.cc
diff options
context:
space:
mode:
authorHaibo Xu <haibo.xu@arm.com>2019-12-06 06:29:24 +0000
committerHaibo Xu <haibo.xu@arm.com>2020-01-17 07:39:57 +0000
commit82ae857877fdf3492f40bca87657a07892c3f59b (patch)
tree49c4a304a5a27b7d4537afe28af1fd15cca5b882 /test/syscalls/linux/chroot.cc
parent574e988f2bc6060078a17f37a377441703c52a22 (diff)
Enable build of test/syscall tests on arm64.
Signed-off-by: Haibo Xu <haibo.xu@arm.com> Change-Id: I277d6c708bbf5c3edd7c3568941cfd01dc122e17
Diffstat (limited to 'test/syscalls/linux/chroot.cc')
-rw-r--r--test/syscalls/linux/chroot.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/chroot.cc b/test/syscalls/linux/chroot.cc
index 04bc2d7b9..0a2d44a2c 100644
--- a/test/syscalls/linux/chroot.cc
+++ b/test/syscalls/linux/chroot.cc
@@ -162,7 +162,7 @@ TEST(ChrootTest, DotDotFromOpenFD) {
// getdents on fd should not error.
char buf[1024];
- ASSERT_THAT(syscall(SYS_getdents, fd.get(), buf, sizeof(buf)),
+ ASSERT_THAT(syscall(SYS_getdents64, fd.get(), buf, sizeof(buf)),
SyscallSucceeds());
}