summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-03-21 10:35:17 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-21 10:35:17 -0700
commitfcf3c19b74da47877221bd71ca2c70bbbe102bd5 (patch)
tree7e2affaf3c138f3359c8e301035bee27aee86656
parentc30f9370873a56fc6496c4fb42830766bc146881 (diff)
parent2952fe9a644748a7dadfba91f0b1fc54737c39c1 (diff)
downloadplatform_cts-fcf3c19b74da47877221bd71ca2c70bbbe102bd5.tar.gz
platform_cts-fcf3c19b74da47877221bd71ca2c70bbbe102bd5.tar.bz2
platform_cts-fcf3c19b74da47877221bd71ca2c70bbbe102bd5.zip
am 2952fe9a: am 5503f6b8: am 7c88c340: am 3cee4c3a: fix build
* commit '2952fe9a644748a7dadfba91f0b1fc54737c39c1': fix build
-rw-r--r--tests/tests/security/jni/android_security_cts_NativeCodeTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests/security/jni/android_security_cts_NativeCodeTest.cpp b/tests/tests/security/jni/android_security_cts_NativeCodeTest.cpp
index 698cd14861c..203382f13a8 100644
--- a/tests/tests/security/jni/android_security_cts_NativeCodeTest.cpp
+++ b/tests/tests/security/jni/android_security_cts_NativeCodeTest.cpp
@@ -168,7 +168,7 @@ static jboolean android_security_cts_NativeCodeTest_doVrootTest(JNIEnv*, jobject
static void* mmap_syscall(void* addr, size_t len, int prot, int flags, int fd, off_t offset)
{
- return (void*) syscall(SYS_mmap2, addr, len, prot, flags, fd, offset);
+ return (void*) syscall(__NR_mmap2, addr, len, prot, flags, fd, offset);
}
#define KBASE_REG_COOKIE_TB 2