Skip to content

Commit ef75883

Browse files
committed
[lldb] Fix the Windows build after D121536
(cherry picked from commit b0a76b0)
1 parent 5fe407e commit ef75883

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lldb/source/Core/IOHandler.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,8 +644,7 @@ void IOHandlerEditline::PrintAsync(const char *s, size_t len, bool is_stdout) {
644644
IOHandler::PrintAsync(s, len, is_stdout);
645645
#ifdef _WIN32
646646
if (prompt)
647-
IOHandler::PrintAsync(GetOutputStreamFileSP().get(), prompt,
648-
strlen(prompt));
647+
IOHandler::PrintAsync(prompt, strlen(prompt), is_stdout);
649648
#endif
650649
}
651650
}

0 commit comments

Comments
 (0)