summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/bad.cc
diff options
context:
space:
mode:
authorBin Lu <bin.lu@arm.com>2020-03-03 17:45:10 +0800
committerBin Lu <bin.lu@arm.com>2020-03-03 17:45:59 +0800
commitfc3a09cd3c56ef20fd398a5f61a5e59111ed55b3 (patch)
tree24eb075baa3527b17a91be276eb3f5b6ece79bce /test/syscalls/linux/bad.cc
parent43abb24657e737dee1108ff0d512b2e1b6d8a3f6 (diff)
code clean: minor changes to compatible with ubuntu18.04
Signed-off-by: Bin Lu <bin.lu@arm.com>
Diffstat (limited to 'test/syscalls/linux/bad.cc')
-rw-r--r--test/syscalls/linux/bad.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/bad.cc b/test/syscalls/linux/bad.cc
index adfb149df..a26fc6af3 100644
--- a/test/syscalls/linux/bad.cc
+++ b/test/syscalls/linux/bad.cc
@@ -28,7 +28,7 @@ namespace {
constexpr uint32_t kNotImplementedSyscall = SYS_get_kernel_syms;
#elif __aarch64__
// Use the last of arch_specific_syscalls which are not implemented on arm64.
-constexpr uint32_t kNotImplementedSyscall = SYS_arch_specific_syscall + 15;
+constexpr uint32_t kNotImplementedSyscall = __NR_arch_specific_syscall + 15;
#endif
TEST(BadSyscallTest, NotImplemented) {