summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2014-05-22 13:36:22 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-22 13:36:23 +0000
commitd551633916d3677da4dda10aba6837bdc6803ee0 (patch)
tree3804f0168793993d3558bcb33970904f45db8949 /media
parent85e6e87c41bba51729cee8958a5c30157c8dc674 (diff)
parent8b5f642eb2364ea7fe46a5b3af51b48b58f12183 (diff)
downloadframeworks_av-d551633916d3677da4dda10aba6837bdc6803ee0.zip
frameworks_av-d551633916d3677da4dda10aba6837bdc6803ee0.tar.gz
frameworks_av-d551633916d3677da4dda10aba6837bdc6803ee0.tar.bz2
Merge "Move frameworks/av from fdprintf to POSIX dprintf."
Diffstat (limited to 'media')
-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());
}