From e901c1bf8ab7455ccb013244959045d4cddc124b Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 19 Jun 2014 11:46:27 -0700 Subject: [PATCH] Fix debuggerd "format '%p'" build breakage. Change-Id: I589d44485e55c23d1f1a6edfa8310a90cac2429e --- debuggerd/debuggerd.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/debuggerd/debuggerd.cpp b/debuggerd/debuggerd.cpp index c2ef26458..ac0c36bed 100644 --- a/debuggerd/debuggerd.cpp +++ b/debuggerd/debuggerd.cpp @@ -163,9 +163,7 @@ static int read_request(int fd, debugger_request_t* out_request) { ALOGE("read failure? %s (pid=%d uid=%d)\n", strerror(errno), cr.pid, cr.uid); return -1; } - if (status == sizeof(debugger_msg_t)) { - ALOGV("crash request of size %d abort_msg_address=%p\n", status, msg.abort_msg_address); - } else { + if (status != sizeof(debugger_msg_t)) { ALOGE("invalid crash request of size %d (from pid=%d uid=%d)\n", status, cr.pid, cr.uid); return -1; }