libsnapshot_fuzzer: allow ENXIO.
This is an accepted error code. Fixes: 170395454 Test: run fuzzer Change-Id: I93862c44f434878a6e1a1ed15a94c92d4a60611b
This commit is contained in:
parent
c00bfdcc9a
commit
10e5e5979a
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