fixed up some logging messages (options and wait_pid were swapped)

llvm-svn: 226956
This commit is contained in:
Vince Harron 2015-01-23 22:48:28 +00:00
parent a1fd099575
commit b956a81efb
1 changed files with 3 additions and 3 deletions

View File

@ -169,7 +169,7 @@ MonitorChildProcessThreadFunction (void *arg)
{ {
log = lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_PROCESS); log = lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_PROCESS);
if (log) if (log)
log->Printf("%s ::wait_pid (pid = %" PRIi32 ", &status, options = %i)...", function, pid, options); log->Printf("%s ::waitpid (pid = %" PRIi32 ", &status, options = %i)...", function, pid, options);
// Wait for all child processes // Wait for all child processes
#if !defined(__ANDROID__) && !defined(__ANDROID_NDK__) #if !defined(__ANDROID__) && !defined(__ANDROID_NDK__)
@ -232,9 +232,9 @@ MonitorChildProcessThreadFunction (void *arg)
if (log) if (log)
log->Printf ("%s ::waitpid (pid = %" PRIi32 ", &status, options = %i) => pid = %" PRIi32 ", status = 0x%8.8x (%s), signal = %i, exit_state = %i", log->Printf ("%s ::waitpid (pid = %" PRIi32 ", &status, options = %i) => pid = %" PRIi32 ", status = 0x%8.8x (%s), signal = %i, exit_state = %i",
function, function,
wait_pid,
options,
pid, pid,
options,
wait_pid,
status, status,
status_cstr, status_cstr,
signal, signal,