summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core')
-rw-r--r--lldb/source/Core/Log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/Log.cpp b/lldb/source/Core/Log.cpp
index 15ac57c7a6f..a83075481ed 100644
--- a/lldb/source/Core/Log.cpp
+++ b/lldb/source/Core/Log.cpp
@@ -217,7 +217,7 @@ Log::Error(const char *format, ...)
if (arg_msg == nullptr)
return;
- Printf("error: %s", args);
+ Printf("error: %s", arg_msg);
free(arg_msg);
}
OpenPOWER on IntegriCloud