diff options
author | Ed Maste <emaste@freebsd.org> | 2013-08-30 20:41:42 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2013-08-30 20:41:42 +0000 |
commit | 62dd8a4d3058d3967372096789b66c1c9cd709a0 (patch) | |
tree | 5259a6895d88e83cdabf8579976da6cdf60d5943 /lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp | |
parent | eb6c708d92f1dfcd0fa631088e9f96100fc19071 (diff) | |
download | bcm5719-llvm-62dd8a4d3058d3967372096789b66c1c9cd709a0.tar.gz bcm5719-llvm-62dd8a4d3058d3967372096789b66c1c9cd709a0.zip |
Clean up warnings in ProcessFreeBSD::UpdateThreadList
llvm-svn: 189695
Diffstat (limited to 'lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp b/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp index 06ad6da625e..952ec95f587 100644 --- a/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp +++ b/lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp @@ -145,10 +145,9 @@ ProcessFreeBSD::UpdateThreadList(ThreadList &old_thread_list, ThreadList &new_th { Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_THREAD)); if (log && log->GetMask().Test(POSIX_LOG_VERBOSE)) - log->Printf ("ProcessFreeBSD::%s() (pid = %i)", __FUNCTION__, GetID()); + log->Printf ("ProcessFreeBSD::%s() (pid = %" PRIu64 ")", __FUNCTION__, GetID()); bool has_updated = false; - const tid_t tid = Host::GetCurrentThreadID(); const lldb::pid_t pid = GetID(); // Update the process thread list with this new thread. // FIXME: We should be using tid, not pid. @@ -161,7 +160,7 @@ ProcessFreeBSD::UpdateThreadList(ThreadList &old_thread_list, ThreadList &new_th } if (log && log->GetMask().Test(POSIX_LOG_VERBOSE)) - log->Printf ("ProcessFreeBSD::%s() updated tid = %i", __FUNCTION__, pid); + log->Printf ("ProcessFreeBSD::%s() updated tid = %" PRIu64, __FUNCTION__, pid); new_thread_list.AddThread(thread_sp); |