commit | 10fdfeb7b84b4f1f5ab17c403f6395ac086a192e | [log] [tgz] |
---|---|---|
author | Erwin Jansen <jansene@google.com> | Wed Dec 04 17:15:20 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Dec 04 17:15:20 2019 +0000 |
tree | dad26a1758e3c125dd2c93dbbed3c1be6a501025 | |
parent | 2da8e3c2eef53dca201d9e96761b8635158bf38a [diff] | |
parent | 4f138b2ce869323067e8031d1794ddd68920f70f [diff] |
Merge "Dup the correct fd for qemu pipe."
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); }