commit | 37ac57022f57892ec174c70d61c035791625369e | [log] [tgz] |
---|---|---|
author | Erwin Jansen <jansene@google.com> | Wed Dec 04 09:22:36 2019 -0800 |
committer | android-build-merger <android-build-merger@google.com> | Wed Dec 04 09:22:36 2019 -0800 |
tree | dad26a1758e3c125dd2c93dbbed3c1be6a501025 | |
parent | aad9786ff6daa45fc059d1673da53f345143ed11 [diff] | |
parent | 152a969414bc62ee136d10e40d663c67f973d8b6 [diff] |
Merge "Dup the correct fd for qemu pipe." am: 10fdfeb7b8 Change-Id: Id5b911e39e986aec3a6b062b5a82b38aba3f1179
diff --git a/logcat/logcat.cpp b/logcat/logcat.cpp index 2d14bf3..02a61a5 100644 --- a/logcat/logcat.cpp +++ b/logcat/logcat.cpp
@@ -865,7 +865,7 @@ } } // close output and error channels, replace with console - dup2(fd, STDOUT_FILENO); + dup2(fd, output_fd_.get()); dup2(fd, STDERR_FILENO); close(fd); }