summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-11-15 02:01:34 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-11-15 02:01:34 +0000
commit5729cff611be1dbb75c34695ab195ab878d44420 (patch)
treeb0b5062337217373b25784fbd35dbcc3210df976
parent2fda3db108c920a7e2a2a07bdf41500e629564e1 (diff)
parent098cc974deb595f4dce2bbcbec2a4c4a9958c3a1 (diff)
downloadcore-android-o-mr1-iot-release-smart-display-r39.tar.gz
-rw-r--r--fs_mgr/liblp/partition_opener.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs_mgr/liblp/partition_opener.cpp b/fs_mgr/liblp/partition_opener.cpp
index 77b0e622d..416f87f2e 100644
--- a/fs_mgr/liblp/partition_opener.cpp
+++ b/fs_mgr/liblp/partition_opener.cpp
@@ -53,18 +53,18 @@ bool GetBlockDeviceInfo(const std::string& block_device, BlockDeviceInfo* device
return false;
}
if (ioctl(fd, BLKIOMIN, &device_info->alignment) < 0) {
- PERROR << __PRETTY_FUNCTION__ << "BLKIOMIN failed";
+ PERROR << __PRETTY_FUNCTION__ << "BLKIOMIN failed on " << block_device;
return false;
}
int alignment_offset;
if (ioctl(fd, BLKALIGNOFF, &alignment_offset) < 0) {
- PERROR << __PRETTY_FUNCTION__ << "BLKIOMIN failed";
+ PERROR << __PRETTY_FUNCTION__ << "BLKALIGNOFF failed on " << block_device;
return false;
}
int logical_block_size;
if (ioctl(fd, BLKSSZGET, &logical_block_size) < 0) {
- PERROR << __PRETTY_FUNCTION__ << "BLKSSZGET failed";
+ PERROR << __PRETTY_FUNCTION__ << "BLKSSZGET failed on " << block_device;
return false;
}