am a4fb975e: Merge "Fix debuggerd "format \'%p\'" build breakage."

* commit 'a4fb975e3d85b7668aa6f564c6a0d4d85f550f2e':
  Fix debuggerd "format '%p'" build breakage.
This commit is contained in:
Elliott Hughes 2014-06-19 18:53:10 +00:00 committed by Android Git Automerger
commit c28e3c310c
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}