[lldb] Fix the Windows build after D121536

This commit is contained in:
Jonas Devlieghere 2022-03-14 11:22:12 -07:00
parent 3b61587c9e
commit b0a76b0162
No known key found for this signature in database
GPG Key ID: 49CC0BD90FDEED4D
1 changed files with 1 additions and 2 deletions

View File

@ -641,8 +641,7 @@ void IOHandlerEditline::PrintAsync(const char *s, size_t len, bool is_stdout) {
IOHandler::PrintAsync(s, len, is_stdout);
#ifdef _WIN32
if (prompt)
IOHandler::PrintAsync(GetOutputStreamFileSP().get(), prompt,
strlen(prompt));
IOHandler::PrintAsync(prompt, strlen(prompt), is_stdout);
#endif
}
}