diff options
Diffstat (limited to 'libcxx/src/print.cpp')
-rw-r--r-- | libcxx/src/print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/print.cpp b/libcxx/src/print.cpp index 37b1fc0..4937aaf 100644 --- a/libcxx/src/print.cpp +++ b/libcxx/src/print.cpp @@ -51,7 +51,7 @@ __write_to_windows_console([[maybe_unused]] FILE* __stream, [[maybe_unused]] wst __view.size(), nullptr, nullptr) == 0) { - __throw_system_error(filesystem::detail::make_windows_error(GetLastError()), "failed to write formatted output"); + __throw_system_error(filesystem::detail::get_last_error(), "failed to write formatted output"); } } # endif // _LIBCPP_HAS_WIDE_CHARACTERS |