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 --- .../Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp') diff --git a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp index 667c43553ba..e5f6155025b 100644 --- a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp +++ b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp @@ -493,7 +493,7 @@ DynamicLoaderDarwinKernel::ParseKextSummaries (const Address &kext_summary_addr, OSKextLoadedKextSummary::collection kext_summaries; LogSP log(GetLogIfAnyCategoriesSet (LIBLLDB_LOG_DYNAMIC_LOADER)); if (log) - log->Printf ("Adding %d modules.\n"); + log->Printf ("Adding %d modules.\n", count); Mutex::Locker locker(m_mutex); -- cgit v1.2.3