crash_dump: fix typos in error messages.

Bug: http://b/34760032
Bug: http://b/35367169
Test: mm
Change-Id: I45fa002d4ca616a41524583228987ab1197a125e
This commit is contained in:
Josh Gao 2017-02-15 12:21:11 -08:00
parent 60515bf9f1
commit f6ad5851e6
1 changed files with 2 additions and 2 deletions

View File

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