diff options
author | Howard Chen <howardsoc@google.com> | 2020-03-03 13:28:37 +0800 |
---|---|---|
committer | Howard Chen <howardsoc@google.com> | 2020-03-03 08:19:52 +0000 |
commit | 46cc752ed27eeca6988e026487b85d345747236c (patch) | |
tree | 04fd8865bdb4d5724b63f3765b335f03c1e11326 /partition_installer.cpp | |
parent | 7885d3c1167c1ec0230c85e4a78628b7c9f34e59 (diff) | |
download | gsid-46cc752ed27eeca6988e026487b85d345747236c.tar.gz |
Fix gsi_tool wipe-data
Bug: 149962466
Test: gsi_tool wipe-data
Change-Id: I3265805c95ebad4ed37c4f0f0df2840214e232d4
Diffstat (limited to 'partition_installer.cpp')
-rw-r--r-- | partition_installer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/partition_installer.cpp b/partition_installer.cpp index 2ac313f..357df50 100644 --- a/partition_installer.cpp +++ b/partition_installer.cpp @@ -348,7 +348,7 @@ int PartitionInstaller::WipeWritable(const std::string& active_dsu, const std::s uint64_t erase_size = std::min(kEraseSize, get_block_device_size(device->fd())); for (uint64_t i = 0; i < erase_size; i += zeroes.size()) { if (!android::base::WriteFully(device->fd(), zeroes.data(), zeroes.size())) { - PLOG(ERROR) << "write userdata_gsi"; + PLOG(ERROR) << "write " << name; return IGsiService::INSTALL_ERROR_GENERIC; } } |