commit | fdb9800fcc28a107889cc14f33129cff746fff6d | [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 | 3ea7785ee9d273ca8421ff4a7ac0c72c79f9bb92 [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