diff --git a/adb/commandline.c b/adb/commandline.c index 0352cf2ae..cd84c3a6b 100644 --- a/adb/commandline.c +++ b/adb/commandline.c @@ -221,8 +221,8 @@ static void read_and_dump(int fd) 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); } }