summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes2014-05-22 03:23:29 -0500
committerElliott Hughes2014-05-22 03:23:29 -0500
commitdcc98da018ce7639b0dea3eb9df464031093bfbd (patch)
tree9a71f30cee64c7df84df89f250d7736e7825f236 /libutils/Printer.cpp
parent30291f2119be5a8ce3491a715e07f28062532f4d (diff)
downloadplatform-system-core-dcc98da018ce7639b0dea3eb9df464031093bfbd.tar.gz
platform-system-core-dcc98da018ce7639b0dea3eb9df464031093bfbd.tar.xz
platform-system-core-dcc98da018ce7639b0dea3eb9df464031093bfbd.zip
Move libutils from fdprintf to POSIX dprintf.
Bug: 11156955 Change-Id: I70a75c07744d9897d76b180e4940b8717297c53f
Diffstat (limited to 'libutils/Printer.cpp')
-rw-r--r--libutils/Printer.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/libutils/Printer.cpp b/libutils/Printer.cpp
index 263e7404b..1dc86323b 100644
--- a/libutils/Printer.cpp
+++ b/libutils/Printer.cpp
@@ -25,10 +25,6 @@
25#include <stdio.h> 25#include <stdio.h>
26#include <stdlib.h> 26#include <stdlib.h>
27 27
28#ifndef __BIONIC__
29#define fdprintf dprintf
30#endif
31
32namespace android { 28namespace android {
33 29
34/* 30/*
@@ -120,7 +116,7 @@ void FdPrinter::printLine(const char* string) {
120 } 116 }
121 117
122#ifndef USE_MINGW 118#ifndef USE_MINGW
123 fdprintf(mFd, mFormatString, mPrefix, string); 119 dprintf(mFd, mFormatString, mPrefix, string);
124#endif 120#endif
125} 121}
126 122