summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/oat_file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/oat_file.cc b/runtime/oat_file.cc
index d5246b45f0..1c8de8fa79 100644
--- a/runtime/oat_file.cc
+++ b/runtime/oat_file.cc
@@ -1045,7 +1045,7 @@ bool DlOpenOatFile::Dlopen(const std::string& elf_filename,
#ifdef __APPLE__
// The dl_iterate_phdr syscall is missing. There is similar API on OSX,
// but let's fallback to the custom loading code for the time being.
- UNUSED(elf_filename, oat_file_begin);
+ UNUSED(elf_filename, reservation);
*error_msg = "Dlopen unsupported on Mac.";
return false;
#else