summaryrefslogtreecommitdiff
path: root/oatdump/oatdump.cc
diff options
context:
space:
mode:
Diffstat (limited to 'oatdump/oatdump.cc')
-rw-r--r--oatdump/oatdump.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/oatdump/oatdump.cc b/oatdump/oatdump.cc
index 13aef63b95..c567a5e730 100644
--- a/oatdump/oatdump.cc
+++ b/oatdump/oatdump.cc
@@ -3553,8 +3553,7 @@ struct OatdumpMain : public CmdlineMain<OatdumpArgs> {
/*only_load_trusted_executable=*/false,
ofa_context.get());
- if (!oat_file_assistant.ValidateBootClassPathChecksums(*oat_file)) {
- *error_msg = "BCP checksum check failed";
+ if (!oat_file_assistant.ValidateBootClassPathChecksums(*oat_file, error_msg)) {
return false;
}