diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-11-15 02:01:34 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-11-15 02:01:34 +0000 |
commit | 5729cff611be1dbb75c34695ab195ab878d44420 (patch) | |
tree | b0b5062337217373b25784fbd35dbcc3210df976 | |
parent | 2fda3db108c920a7e2a2a07bdf41500e629564e1 (diff) | |
parent | 098cc974deb595f4dce2bbcbec2a4c4a9958c3a1 (diff) | |
download | core-android-o-mr1-iot-release-smart-display-r39.tar.gz |
Merge "liblp: partition_opener: fix log; more logs"android-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcs
-rw-r--r-- | fs_mgr/liblp/partition_opener.cpp | 6 |
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; } |