summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-05-22 01:23:29 -0700
committerElliott Hughes <enh@google.com>2014-05-22 01:23:29 -0700
commitdcc98da018ce7639b0dea3eb9df464031093bfbd (patch)
tree9a71f30cee64c7df84df89f250d7736e7825f236
parent30291f2119be5a8ce3491a715e07f28062532f4d (diff)
downloadcore-dcc98da018ce7639b0dea3eb9df464031093bfbd.tar.gz
Move libutils from fdprintf to POSIX dprintf.
Bug: 11156955 Change-Id: I70a75c07744d9897d76b180e4940b8717297c53f
-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 @@
#include <stdio.h>
#include <stdlib.h>
-#ifndef __BIONIC__
-#define fdprintf dprintf
-#endif
-
namespace android {
/*
@@ -120,7 +116,7 @@ void FdPrinter::printLine(const char* string) {
}
#ifndef USE_MINGW
- fdprintf(mFd, mFormatString, mPrefix, string);
+ dprintf(mFd, mFormatString, mPrefix, string);
#endif
}