aboutsummaryrefslogtreecommitdiffstats
path: root/libc/bionic/malloc_debug_qemu.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-03-15 15:30:25 -0700
committerElliott Hughes <enh@google.com>2013-03-15 16:12:58 -0700
commit8f2a5a0b40fc82126c691d5c30131d908772aab7 (patch)
tree0b29a5dc82395c076387edb5af9ca271a91264c0 /libc/bionic/malloc_debug_qemu.cpp
parente23ed8c6441389a79c6504295184f7249e01a197 (diff)
downloadandroid_bionic-8f2a5a0b40fc82126c691d5c30131d908772aab7.tar.gz
android_bionic-8f2a5a0b40fc82126c691d5c30131d908772aab7.tar.bz2
android_bionic-8f2a5a0b40fc82126c691d5c30131d908772aab7.zip
Clean up internal libc logging.
We only need one logging API, and I prefer the one that does no allocation and is thus safe to use in any context. Also use O_CLOEXEC when opening the /dev/log files. Move everything logging-related into one header file. Change-Id: Ic1e3ea8e9b910dc29df351bff6c0aa4db26fbb58
Diffstat (limited to 'libc/bionic/malloc_debug_qemu.cpp')
-rw-r--r--libc/bionic/malloc_debug_qemu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/malloc_debug_qemu.cpp b/libc/bionic/malloc_debug_qemu.cpp
index 812a45120..08225c1e1 100644
--- a/libc/bionic/malloc_debug_qemu.cpp
+++ b/libc/bionic/malloc_debug_qemu.cpp
@@ -51,7 +51,7 @@
#include <unistd.h>
#include <errno.h>
#include "dlmalloc.h"
-#include "logd.h"
+#include "libc_logging.h"
#include "malloc_debug_common.h"
/* This file should be included into the build only when