aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTianjie Xu2017-01-18 17:12:54 -0600
committerTianjie Xu2017-01-18 17:15:17 -0600
commit97ea844aca4ca41cf9255adb60713ddda2589f0e (patch)
tree43bd99c37aade61d9bc79c247d32c606ffa87dd8 /verifier.cpp
parent8a45adb24393bca4f03f1b12e74ae4961fd1d72b (diff)
downloadplatform-bootable-recovery-97ea844aca4ca41cf9255adb60713ddda2589f0e.tar.gz
platform-bootable-recovery-97ea844aca4ca41cf9255adb60713ddda2589f0e.tar.xz
platform-bootable-recovery-97ea844aca4ca41cf9255adb60713ddda2589f0e.zip
resolve build error when merging 0f7f7e21
Test: mma Change-Id: Ibdcf7b47e54d3739fb922f66996365763d2acfef
Diffstat (limited to 'verifier.cpp')
-rw-r--r--verifier.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/verifier.cpp b/verifier.cpp
index 22f15235..82454867 100644
--- a/verifier.cpp
+++ b/verifier.cpp
@@ -148,8 +148,8 @@ int verify_file(unsigned char* addr, size_t length,
148 << " bytes from end"; 148 << " bytes from end";
149 149
150 if (signature_start > comment_size) { 150 if (signature_start > comment_size) {
151 LOGE("signature start: %zu is larger than comment size: %zu\n", signature_start, 151 LOG(ERROR) << "signature start: " << signature_start << " is larger than comment size: "
152 comment_size); 152 << comment_size;
153 return VERIFY_FAILURE; 153 return VERIFY_FAILURE;
154 } 154 }
155 155