diff options
| author | Zachary Turner <zturner@google.com> | 2017-03-19 06:00:31 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2017-03-19 06:00:31 +0000 |
| commit | 6c8255e831b497e9b65c5a2220d56baabfa15ddc (patch) | |
| tree | a6c2859fda0f3746bef82007b8ff565158e7fafc | |
| parent | 6934e0aaa7fa1f081a43e3ceea4c7a865ba015ce (diff) | |
| download | bcm5719-llvm-6c8255e831b497e9b65c5a2220d56baabfa15ddc.tar.gz bcm5719-llvm-6c8255e831b497e9b65c5a2220d56baabfa15ddc.zip | |
Fix syntax error when building with editline support.
llvm-svn: 298206
| -rw-r--r-- | lldb/source/Host/common/Editline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/Editline.cpp b/lldb/source/Host/common/Editline.cpp index f8339d8e599..abaf4c91125 100644 --- a/lldb/source/Host/common/Editline.cpp +++ b/lldb/source/Host/common/Editline.cpp @@ -178,7 +178,7 @@ private: if (m_path.empty() && m_history && !m_prefix.empty()) { FileSpec parent_path{"~/.lldb", true}; char history_path[PATH_MAX]; - if (!llvm::sys::fs::create_directory(parent_path.GetPath()) { + if (!llvm::sys::fs::create_directory(parent_path.GetPath())) { snprintf(history_path, sizeof(history_path), "~/.lldb/%s-history", m_prefix.c_str()); } else { |

