Fix syntax error when building with editline support.
authorZachary Turner <zturner@google.com>
Sun, 19 Mar 2017 06:00:31 +0000 (06:00 +0000)
committerZachary Turner <zturner@google.com>
Sun, 19 Mar 2017 06:00:31 +0000 (06:00 +0000)
llvm-svn: 298206

lldb/source/Host/common/Editline.cpp

index f8339d8..abaf4c9 100644 (file)
@@ -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 {