svn commit: r311164 - projects/clang400-import/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD

Dimitry Andric dim at FreeBSD.org
Tue Jan 3 18:10:24 UTC 2017


Author: dim
Date: Tue Jan  3 18:10:23 2017
New Revision: 311164
URL: https://svnweb.freebsd.org/changeset/base/311164

Log:
  Fix printf format warning on i386.

Modified:
  projects/clang400-import/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp

Modified: projects/clang400-import/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp
==============================================================================
--- projects/clang400-import/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp	Tue Jan  3 18:09:54 2017	(r311163)
+++ projects/clang400-import/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp	Tue Jan  3 18:10:23 2017	(r311164)
@@ -259,7 +259,7 @@ void FreeBSDThread::DidStop() {
 void FreeBSDThread::WillResume(lldb::StateType resume_state) {
   Log *log(ProcessPOSIXLog::GetLogIfAllCategoriesSet(POSIX_LOG_THREAD));
   if (log)
-    log->Printf("tid %lu resume_state = %s", GetID(),
+    log->Printf("tid %" PRIu64 " resume_state = %s", GetID(),
                 lldb_private::StateAsCString(resume_state));
   ProcessSP process_sp(GetProcess());
   ProcessFreeBSD *process = static_cast<ProcessFreeBSD *>(process_sp.get());


More information about the svn-src-projects mailing list