diff options
| author | 2017-02-01 21:29:50 +0000 | |
|---|---|---|
| committer | 2017-02-01 21:29:50 +0000 | |
| commit | 7fe71e59ad3055e1a80d8043449b8a056bc92236 (patch) | |
| tree | 752a253c819b88dde943bfba7320f23fb2955af0 | |
| parent | bd448543439eb0f337191897bc3305eb8be0adda (diff) | |
| parent | 035fa3eb6b467ca796816c0001fac852a9d97a1f (diff) | |
Merge "Do not -1 for lshal." am: 50752b732e am: bd4cc238fb am: 44a6d5a5eb
am: 035fa3eb6b
Change-Id: I0547c8b71e2709c19f30db457d881ee7d2986cc7
| -rw-r--r-- | cmds/lshal/lshal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/lshal/lshal.cpp b/cmds/lshal/lshal.cpp index bc8bf39d0e..19374750d6 100644 --- a/cmds/lshal/lshal.cpp +++ b/cmds/lshal/lshal.cpp @@ -68,7 +68,7 @@ int dump() { info.interfaceName, info.instanceName.empty() ? "N/A" : info.instanceName, 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()) { |