commit | 74b84989c49ffd8714645947d7882e91f797541d | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Mon Jan 28 06:17:44 2019 -0800 |
committer | Greg Kaiser <gkaiser@google.com> | Mon Jan 28 06:17:44 2019 -0800 |
tree | 7aac1d53cb3b4def3e8ff427981b7d4680f76223 | |
parent | b5431302ce37f4988478b222a491a6e9716d1ba0 [diff] |
adb: Fix incorrect logging statement We were logging "fd.get()" after we had already done a "std::move(fd)". That won't log the value we were hoping for. We instead cache the file descriptor value in a local int prior to the move(), and log that. Test: TreeHugger Change-Id: I715874ac63329280ffb55881fb2590fb31dc2457