diff options
author | Elliott Hughes <enh@google.com> | 2014-05-22 01:23:29 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-05-22 01:23:29 -0700 |
commit | dcc98da018ce7639b0dea3eb9df464031093bfbd (patch) | |
tree | 9a71f30cee64c7df84df89f250d7736e7825f236 | |
parent | 30291f2119be5a8ce3491a715e07f28062532f4d (diff) | |
download | system_core-dcc98da018ce7639b0dea3eb9df464031093bfbd.zip system_core-dcc98da018ce7639b0dea3eb9df464031093bfbd.tar.gz system_core-dcc98da018ce7639b0dea3eb9df464031093bfbd.tar.bz2 |
Move libutils from fdprintf to POSIX dprintf.
Bug: 11156955
Change-Id: I70a75c07744d9897d76b180e4940b8717297c53f
-rw-r--r-- | libutils/Printer.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libutils/Printer.cpp b/libutils/Printer.cpp index 263e740..1dc8632 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 } |