Merge "adb: do not mix printf() with write() when writing to stdout."
This commit is contained in:
commit
bfb0477f1d
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue