commit | dd6b36e334809e7a99f0bce45353cdd7e4dac4e1 | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Tue Sep 22 01:18:40 2009 -0400 |
committer | Mike Lockwood <lockwood@android.com> | Thu Feb 25 23:04:43 2010 -0500 |
tree | 70335e8a9be1dcb6559402d8beee861f8c060c37 | |
parent | eafdd86f4d8f4ccc69f0c16550c65aa392f678d6 [diff] |
adb: do not mix printf() with write() when writing to stdout. Change-Id: I3598cc951778080bec9a21d646656d5aba57120a Signed-off-by: Mike Lockwood <lockwood@android.com>
diff --git a/adb/commandline.c b/adb/commandline.c index 0352cf2..cd84c3a 100644 --- a/adb/commandline.c +++ b/adb/commandline.c
@@ -221,8 +221,8 @@ if(errno == EINTR) continue; break; } - /* we want to output to stdout, so no adb_write here !! */ - unix_write(1, buf, len); + fwrite(buf, 1, len, stdout); + fflush(stdout); } }