From fd54b368ea4d1bd481ac4d203362c2a5556418d0 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Tue, 20 Sep 2011 21:44:10 +0000 Subject: Update declarations for all functions/methods that accept printf-style stdarg formats to use __attribute__ format so the compiler can flag incorrect uses. Fix all incorrect uses. Most of these are innocuous, a few were resulting in crashes. llvm-svn: 140185 --- lldb/source/API/SBTarget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/API/SBTarget.cpp') diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp index 3343b48a623..5f3716c4e1a 100644 --- a/lldb/source/API/SBTarget.cpp +++ b/lldb/source/API/SBTarget.cpp @@ -646,7 +646,7 @@ SBTarget::BreakpointCreateByAddress (addr_t address) if (log) { - log->Printf ("SBTarget(%p)::BreakpointCreateByAddress (%p, address=%p) => SBBreakpoint(%p)", m_opaque_sp.get(), address, sb_bp.get()); + log->Printf ("SBTarget(%p)::BreakpointCreateByAddress (address=%llu) => SBBreakpoint(%p)", m_opaque_sp.get(), (uint64_t) address, sb_bp.get()); } return sb_bp; -- cgit v1.2.3