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

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

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

Merge "libsnapshot_fuzzer: allow ENXIO." am: d6fc1454 am: 8268f6ea am: 579ee075 am: da50fc45

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

Change-Id: Iec594e03d6a8cfeeda2c502eccc225272a4bb8ee
parents 7063c0cd da50fc45
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;