summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2014-05-22 13:40:35 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-22 13:40:35 +0000
commit72f51179849c338747fd83d638c90b6be42a43cf (patch)
treed0da2ae28f23d37cc45689d12f58a83c43c7eba5
parent7f8ebb8178cd6a3d9ea0206070682a9b463f15d2 (diff)
parentcd3897d0af0c7b5a3b4913a2b0cca715fdfb890c (diff)
downloadsystem_core-72f51179849c338747fd83d638c90b6be42a43cf.zip
system_core-72f51179849c338747fd83d638c90b6be42a43cf.tar.gz
system_core-72f51179849c338747fd83d638c90b6be42a43cf.tar.bz2
am cd3897d0: Merge "Move libutils from fdprintf to POSIX dprintf."
* commit 'cd3897d0af0c7b5a3b4913a2b0cca715fdfb890c': Move libutils from fdprintf to POSIX dprintf.
-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
}