summaryrefslogtreecommitdiff
path: root/fastboot/fastboot.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2021-02-17 13:51:54 -0800
committerYifan Hong <elsk@google.com>2021-03-17 15:38:06 -0700
commit60de969eff92ab29dbb6a617c01942246bf41619 (patch)
tree80ec07d29b0f49443302ea79952b31b468ba2150 /fastboot/fastboot.cpp
parenta5cee93b5add53afd25624f0f445f98bc8048b19 (diff)
fastboot driver: fix message
Test: pass Bug: 173654501 Change-Id: I7d5e7ce817a5ec4e3aba6b44bab3149683a46fdd
Diffstat (limited to 'fastboot/fastboot.cpp')
-rw-r--r--fastboot/fastboot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp
index 38be934b9..97d87f64a 100644
--- a/fastboot/fastboot.cpp
+++ b/fastboot/fastboot.cpp
@@ -1019,7 +1019,7 @@ static void copy_boot_avb_footer(const std::string& partition, struct fastboot_b
std::string partition_size_str;
if (fb->GetVar("partition-size:" + partition, &partition_size_str) != fastboot::SUCCESS) {
- die("cannot get boot partition size");
+ die("cannot get partition size for %s", partition.c_str());
}
partition_size_str = fb_fix_numeric_var(partition_size_str);