Skip to content

Commit

Permalink
Fix use of iostream in last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
ned14 committed Aug 21, 2021
1 parent 7edfef2 commit c86f5a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/llfio/v2.0/detail/impl/map_handle.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ namespace detail
if(-1 == ::munmap(p->addr, _bytes))
#endif
{
std::cerr << "munmap failed with " << strerror(errno) << ". addr was " << p->addr << " bytes was " << _bytes << std::endl;
fprintf(stderr, "munmap failed with %s. addr was %p bytes was %zu\n", strerror(errno), p->addr, _bytes);
LLFIO_LOG_FATAL(nullptr,
"FATAL: map_handle cache failed to trim a map! If on Linux, you may have exceeded the "
"64k VMA process limit, set the LLFIO_DEBUG_LINUX_MUNMAP macro at the top of posix/map_handle.ipp to cause dumping of VMAs to "
Expand Down

0 comments on commit c86f5a5

Please sign in to comment.