summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBThread.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2011-09-20 21:44:10 +0000
committerJason Molenda <jmolenda@apple.com>2011-09-20 21:44:10 +0000
commitfd54b368ea4d1bd481ac4d203362c2a5556418d0 (patch)
tree3adaaf91c485565d39e32762804b69439977c8fd /lldb/source/API/SBThread.cpp
parent33e91a6cf7a66b83b29e842268bf9b0a1ef14711 (diff)
downloadbcm5719-llvm-fd54b368ea4d1bd481ac4d203362c2a5556418d0.tar.gz
bcm5719-llvm-fd54b368ea4d1bd481ac4d203362c2a5556418d0.zip
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
Diffstat (limited to 'lldb/source/API/SBThread.cpp')
-rw-r--r--lldb/source/API/SBThread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBThread.cpp b/lldb/source/API/SBThread.cpp
index 3f6a751d641..6b498c12a92 100644
--- a/lldb/source/API/SBThread.cpp
+++ b/lldb/source/API/SBThread.cpp
@@ -729,7 +729,7 @@ SBThread::StepOverUntil (lldb::SBFrame &sb_frame,
if (all_in_function)
{
step_file_spec.GetPath (path, sizeof(path));
- sb_error.SetErrorStringWithFormat("No line entries for %s:u", path, line);
+ sb_error.SetErrorStringWithFormat("No line entries for %s:%u", path, line);
}
else
sb_error.SetErrorString ("Step until target not in current function.\n");
OpenPOWER on IntegriCloud