diff options
author | Greg Kaiser <gkaiser@google.com> | 2019-01-28 06:17:44 -0800 |
---|---|---|
committer | Greg Kaiser <gkaiser@google.com> | 2019-01-28 06:17:44 -0800 |
commit | fdb9800fcc28a107889cc14f33129cff746fff6d (patch) | |
tree | 062859ee9911b6491b6e7fe866e944853fdb79b3 /libunwindstack/tests/MapInfoCreateMemoryTest.cpp | |
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
Diffstat (limited to 'libunwindstack/tests/MapInfoCreateMemoryTest.cpp')
0 files changed, 0 insertions, 0 deletions