Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 579ee075 authored by Yifan Hong's avatar Yifan Hong Committed by Automerger Merge Worker
Browse files

Merge "libsnapshot_fuzzer: allow ENXIO." am: d6fc1454 am: 8268f6ea

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1839713

Change-Id: Ia79c81c5beede50925a30853ce9a205da35c8cfc
parents 1442777b 8268f6ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;