diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-08-21 22:10:13 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-08-21 22:10:13 +0300 |
commit | c86f5a536072da82a73024ccd640efc11e1ce3d3 (patch) | |
tree | 4dce9f5c7f5518ce2f5ca129276ef60eb4db1590 | |
parent | 7edfef2c652dd0750a7b91c9582d3290394026d4 (diff) |
Fix use of iostream in last commit.
-rw-r--r-- | include/llfio/v2.0/detail/impl/map_handle.ipp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llfio/v2.0/detail/impl/map_handle.ipp b/include/llfio/v2.0/detail/impl/map_handle.ipp index d422f129..90dcfc4a 100644 --- a/include/llfio/v2.0/detail/impl/map_handle.ipp +++ b/include/llfio/v2.0/detail/impl/map_handle.ipp @@ -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 " |