Merge "libsnapshot_fuzzer: allow ENXIO." am: d6fc145473
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1839713 Change-Id: Ibd14c26cf444f44ed9dcb9816aaf6a85afcf2945
This commit is contained in:
commit
8268f6ea4a
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ std::vector<DeviceMapper::TargetInfo> GetTableInfoIfExists(const std::string& de
|
|||
auto& dm = DeviceMapper::Instance();
|
||||
std::vector<DeviceMapper::TargetInfo> table;
|
||||
if (!dm.GetTableInfo(dev_name, &table)) {
|
||||
PCHECK(errno == ENODEV);
|
||||
PCHECK(errno == ENODEV || errno == ENXIO);
|
||||
return {};
|
||||
}
|
||||
return table;
|
||||
|
|
Loading…
Reference in a new issue