commit | 72d3195772de83f74d940d461c75ffccd4b30272 | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Fri Jan 08 18:06:24 2021 +0000 |
committer | Roland Levillain <rpl@google.com> | Mon Jan 11 10:50:35 2021 +0000 |
tree | 65bcb5ad8b30cc2e7c0c8b69165bca359982e000 | |
parent | dc281e776c0395b54200c62626f90417f092a2bf [diff] |
Fix error message logging in `art::gc::space::ImageSpace::LoadBootImage`. Test: m com.android.art Change-Id: Icbc926abdd1cdccde92d8e2c7cb595e55b6a06ee
diff --git a/runtime/gc/space/image_space.cc b/runtime/gc/space/image_space.cc index a718b5c..dd9b2e3 100644 --- a/runtime/gc/space/image_space.cc +++ b/runtime/gc/space/image_space.cc
@@ -3360,7 +3360,9 @@ std::ostringstream oss; bool first = true; for (const auto& msg : error_msgs) { - if (!first) { + if (first) { + first = false; + } else { oss << "\n "; } oss << msg;