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

Commit 6a25701b authored by Yifan Hong's avatar Yifan Hong Committed by Iliyan Malchev
Browse files

Do not -1 for lshal.

Test: compiles
Change-Id: I99e6306a6b82ec85bc84f9572f3e4f2f8cdf2847
parent 79205572
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -68,7 +68,7 @@ int dump() {
                    info.interfaceName,
                    info.interfaceName,
                    info.instanceName.empty() ? "N/A" : info.instanceName,
                    info.instanceName.empty() ? "N/A" : info.instanceName,
                    mode,
                    mode,
                    info.refCount == 0 ? "N/A" : std::to_string(info.refCount - 1));
                    info.refCount < 0 ? "N/A" : std::to_string(info.refCount));
            }
            }
        });
        });
        if (!ret.isOk()) {
        if (!ret.isOk()) {