summaryrefslogtreecommitdiffstats
path: root/media/libnbaio
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-05-22 01:22:06 -0700
committerElliott Hughes <enh@google.com>2014-05-22 01:22:06 -0700
commit8b5f642eb2364ea7fe46a5b3af51b48b58f12183 (patch)
tree3804f0168793993d3558bcb33970904f45db8949 /media/libnbaio
parent85e6e87c41bba51729cee8958a5c30157c8dc674 (diff)
downloadframeworks_av-8b5f642eb2364ea7fe46a5b3af51b48b58f12183.zip
frameworks_av-8b5f642eb2364ea7fe46a5b3af51b48b58f12183.tar.gz
frameworks_av-8b5f642eb2364ea7fe46a5b3af51b48b58f12183.tar.bz2
Move frameworks/av from fdprintf to POSIX dprintf.
Bug: 11156955 Change-Id: Ia98cd16b4c1f7be87cf060b7456de4f40896bacb
Diffstat (limited to 'media/libnbaio')
-rw-r--r--media/libnbaio/NBLog.cpp2
1 files changed, 1 insertions, 1 deletions
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());
}