OSDN Git Service

ART: Fix ImageSpace error message.
authorAndreas Gampe <agampe@google.com>
Sat, 25 Oct 2014 04:55:52 +0000 (21:55 -0700)
committerBrian Carlstrom <bdc@google.com>
Tue, 28 Oct 2014 20:48:46 +0000 (13:48 -0700)
Use *error_msg instead of error_msg.

(cherry picked from commit 50f2e9a6b935ba1c456a687e5f0822d9356d71e5)

Bug: 18143314
Change-Id: I62f6aeda142235eb1a412a4c1ae1104b813e6967

runtime/gc/space/image_space.cc

index cd5e196..b67257f 100644 (file)
@@ -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",