Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8de67e53 authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

Merge changes from topic 'debuggerd_snprintf'

am: fefda6b5

Change-Id: I8ea82692779d531c453b50ffd45309317e9a4f0f
parents 021028e0 fefda6b5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -218,7 +218,7 @@ static void check_process(int proc_fd, pid_t expected_pid) {
  }

  if (proc_info.pid != expected_pid) {
    LOG(FATAL) << "pid mismatch: expected " << expected_pid << ", actual " << proc_info.ppid;
    LOG(FATAL) << "pid mismatch: expected " << expected_pid << ", actual " << proc_info.pid;
  }
}

@@ -254,7 +254,7 @@ int main(int argc, char** argv) {
  }

  if (!android::base::ParseInt(argv[2], &pseudothread_tid, 1, std::numeric_limits<pid_t>::max())) {
    LOG(FATAL) << "invalid pseudothread tid: " << argv[1];
    LOG(FATAL) << "invalid pseudothread tid: " << argv[2];
  }

  android::procinfo::ProcessInfo target_info;