From 8b5f642eb2364ea7fe46a5b3af51b48b58f12183 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 22 May 2014 01:22:06 -0700 Subject: Move frameworks/av from fdprintf to POSIX dprintf. Bug: 11156955 Change-Id: Ia98cd16b4c1f7be87cf060b7456de4f40896bacb --- media/libnbaio/NBLog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'media/libnbaio') diff --git a/media/libnbaio/NBLog.cpp b/media/libnbaio/NBLog.cpp index 8dfb4f0..4f5762f 100644 --- a/media/libnbaio/NBLog.cpp +++ b/media/libnbaio/NBLog.cpp @@ -438,7 +438,7 @@ void NBLog::Reader::dump(int fd, size_t indent) void NBLog::Reader::dumpLine(const String8& timestamp, String8& body) { if (mFd >= 0) { - fdprintf(mFd, "%.*s%s %s\n", mIndent, "", timestamp.string(), body.string()); + dprintf(mFd, "%.*s%s %s\n", mIndent, "", timestamp.string(), body.string()); } else { ALOGI("%.*s%s %s", mIndent, "", timestamp.string(), body.string()); } -- cgit v1.1