summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-04-23 14:56:31 -0700
committerColin Cross <ccross@android.com>2014-04-23 15:03:24 -0700
commit35d5c3baf701ca3d1e2d5b0b3653a5ca16f21f7e (patch)
tree9b52bbf9851c3e2f3a2b73b50b7bdedb238ba435 /runtime
parent125011d70aa84b3fd9052f1c90101401b0851928 (diff)
downloadart-35d5c3baf701ca3d1e2d5b0b3653a5ca16f21f7e.zip
art-35d5c3baf701ca3d1e2d5b0b3653a5ca16f21f7e.tar.gz
art-35d5c3baf701ca3d1e2d5b0b3653a5ca16f21f7e.tar.bz2
art: fix dlopen error message
detail is a std::string *, dereference it when logging the error message. Change-Id: If73a5806445df17d91ff1a7f4f3a6d31f0e9f54e
Diffstat (limited to 'runtime')
-rw-r--r--runtime/jni_internal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jni_internal.cc b/runtime/jni_internal.cc
index 38aeaee..c04aabf 100644
--- a/runtime/jni_internal.cc
+++ b/runtime/jni_internal.cc
@@ -3143,7 +3143,7 @@ bool JavaVMExt::LoadNativeLibrary(const std::string& path,
if (handle == nullptr) {
*detail = dlerror();
- LOG(ERROR) << "dlopen(\"" << path << "\", RTLD_LAZY) failed: " << detail;
+ LOG(ERROR) << "dlopen(\"" << path << "\", RTLD_LAZY) failed: " << *detail;
return false;
}