1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00

Fix printf format warning on i386.

This commit is contained in:
Dimitry Andric 2017-01-03 18:10:23 +00:00
parent e9f2ce8531
commit dfb5f2eb8a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/clang400-import/; revision=311164

View File

@ -259,7 +259,7 @@ void FreeBSDThread::DidStop() {
void FreeBSDThread::WillResume(lldb::StateType resume_state) { void FreeBSDThread::WillResume(lldb::StateType resume_state) {
Log *log(ProcessPOSIXLog::GetLogIfAllCategoriesSet(POSIX_LOG_THREAD)); Log *log(ProcessPOSIXLog::GetLogIfAllCategoriesSet(POSIX_LOG_THREAD));
if (log) if (log)
log->Printf("tid %lu resume_state = %s", GetID(), log->Printf("tid %" PRIu64 " resume_state = %s", GetID(),
lldb_private::StateAsCString(resume_state)); lldb_private::StateAsCString(resume_state));
ProcessSP process_sp(GetProcess()); ProcessSP process_sp(GetProcess());
ProcessFreeBSD *process = static_cast<ProcessFreeBSD *>(process_sp.get()); ProcessFreeBSD *process = static_cast<ProcessFreeBSD *>(process_sp.get());