summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
-rw-r--r--lldb/source/Interpreter/CommandObject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp
index af9aa39e7ed..dbbd0936aa0 100644
--- a/lldb/source/Interpreter/CommandObject.cpp
+++ b/lldb/source/Interpreter/CommandObject.cpp
@@ -850,12 +850,12 @@ static
const char *arch_helper()
{
static StreamString g_archs_help;
- if (g_archs_help.GetData() == NULL)
+ if (g_archs_help.Empty())
{
StringList archs;
ArchSpec::AutoComplete(NULL, archs);
g_archs_help.Printf("These are the supported architecture names:\n");
- archs.Join("%s\n", g_archs_help);
+ archs.Join("\n", g_archs_help);
}
return g_archs_help.GetData();
}
OpenPOWER on IntegriCloud