Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfb0477f authored by Mike Lockwood's avatar Mike Lockwood Committed by Android (Google) Code Review
Browse files

Merge "adb: do not mix printf() with write() when writing to stdout."

parents 85cf5689 dd6b36e3
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -221,8 +221,8 @@ static void read_and_dump(int fd)
            if(errno == EINTR) continue;
            if(errno == EINTR) continue;
            break;
            break;
        }
        }
        /* we want to output to stdout, so no adb_write here !! */
        fwrite(buf, 1, len, stdout);
        unix_write(1, buf, len);
        fflush(stdout);
    }
    }
}
}