Fixed two printf format errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140239 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBFileSpecList.cpp b/source/API/SBFileSpecList.cpp
index 3abb4fc..af76218 100644
--- a/source/API/SBFileSpecList.cpp
+++ b/source/API/SBFileSpecList.cpp
@@ -36,7 +36,7 @@
if (log)
{
- log->Printf ("SBFileSpecList::SBFileSpecList (const SBFileSpecList rhs.ap=%p) => SBFileSpecList(%p): %s",
+ log->Printf ("SBFileSpecList::SBFileSpecList (const SBFileSpecList rhs.ap=%p) => SBFileSpecList(%p)",
rhs.m_opaque_ap.get(), m_opaque_ap.get());
}
}
diff --git a/source/API/SBTarget.cpp b/source/API/SBTarget.cpp
index 4e0dac4..e3743e5 100644
--- a/source/API/SBTarget.cpp
+++ b/source/API/SBTarget.cpp
@@ -683,7 +683,7 @@
char path[PATH_MAX];
source_file->GetPath (path, sizeof(path));
log->Printf ("SBTarget(%p)::BreakpointCreateByRegex (source_regex=\"%s\", file=\"%s\", module_name=\"%s\") => SBBreakpoint(%p)",
- m_opaque_sp.get(), source_regex, path, sb_bp.get());
+ m_opaque_sp.get(), source_regex, path, module_name, sb_bp.get());
}
return sb_bp;