fixed up some logging messages (options and wait_pid were swapped)
authorVince Harron <vharron@google.com>
Fri, 23 Jan 2015 22:48:28 +0000 (22:48 +0000)
committerVince Harron <vharron@google.com>
Fri, 23 Jan 2015 22:48:28 +0000 (22:48 +0000)
llvm-svn: 226956

lldb/source/Host/common/Host.cpp

index ce56c85..30f5c86 100644 (file)
@@ -169,7 +169,7 @@ MonitorChildProcessThreadFunction (void *arg)
     {
         log = lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_PROCESS);
         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
 #if !defined(__ANDROID__) && !defined(__ANDROID_NDK__)
@@ -232,9 +232,9 @@ MonitorChildProcessThreadFunction (void *arg)
                 if (log)
                     log->Printf ("%s ::waitpid (pid = %" PRIi32 ", &status, options = %i) => pid = %" PRIi32 ", status = 0x%8.8x (%s), signal = %i, exit_state = %i",
                                  function,
-                                 wait_pid,
-                                 options,
                                  pid,
+                                 options,
+                                 wait_pid,
                                  status,
                                  status_cstr,
                                  signal,