diff options
| author | 2014-10-24 21:55:52 -0700 | |
|---|---|---|
| committer | 2014-10-28 13:48:46 -0700 | |
| commit | efb9f850292a2ea5aae4ab56556c9ab25b308a96 (patch) | |
| tree | 068adef5982d6337cece902ac7dada788440a13a | |
| parent | a6b2affaf99e03f938f6f26e42606488d43f2efe (diff) | |
ART: Fix ImageSpace error message.
Use *error_msg instead of error_msg.
(cherry picked from commit 50f2e9a6b935ba1c456a687e5f0822d9356d71e5)
Bug: 18143314
Change-Id: I62f6aeda142235eb1a412a4c1ae1104b813e6967
| -rw-r--r-- | runtime/gc/space/image_space.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/space/image_space.cc b/runtime/gc/space/image_space.cc index cd5e196fa1..b67257f0db 100644 --- a/runtime/gc/space/image_space.cc +++ b/runtime/gc/space/image_space.cc @@ -497,7 +497,7 @@ ImageSpace* ImageSpace::Create(const char* image_location, if (relocated_version_used) { LOG(FATAL) << "Attempted to use relocated version of " << image_location << " " << "at " << cache_filename << " generated from " << system_filename << " " - << "but image failed to load: " << error_msg; + << "but image failed to load: " << *error_msg; return nullptr; } else if (is_system) { *error_msg = StringPrintf("Failed to load /system image '%s': %s", |