summaryrefslogtreecommitdiffstats
path: root/libutils
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2014-05-22 13:44:19 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-22 13:44:19 +0000
commit29415ce2fbb3a96e513abd00589da169d3399aee (patch)
tree3228425cef9a107894199c2c6d959d8eeb9e33eb /libutils
parent219e867f61755720af3cddb5e8d2fe0e198a27ab (diff)
parent72f51179849c338747fd83d638c90b6be42a43cf (diff)
downloadsystem_core-29415ce2fbb3a96e513abd00589da169d3399aee.zip
system_core-29415ce2fbb3a96e513abd00589da169d3399aee.tar.gz
system_core-29415ce2fbb3a96e513abd00589da169d3399aee.tar.bz2
am 72f51179: am cd3897d0: Merge "Move libutils from fdprintf to POSIX dprintf."
* commit '72f51179849c338747fd83d638c90b6be42a43cf': Move libutils from fdprintf to POSIX dprintf.
Diffstat (limited to 'libutils')
-rw-r--r--libutils/Printer.cpp6
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
}