commit | 797f516bd5d199356f751930d418160a69c533a7 | [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 | 062859ee9911b6491b6e7fe866e944853fdb79b3 | |
parent | a1aff0dadd2a3a94c3d8e66086604a4022ff201c [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