fix: expected ‘)’ before string constant

This commit is contained in:
mutouyun 2022-11-27 23:00:56 +08:00
parent 89ba7c762f
commit f8691a3a80

View File

@ -148,7 +148,7 @@ result_code shm_close(shm_t h) noexcept {
if (shm == nullptr) return {}; if (shm == nullptr) return {};
if (::munmap(shm->memp, shm->f_sz) == posix::failed) { if (::munmap(shm->memp, shm->f_sz) == posix::failed) {
auto err = sys::error(); auto err = sys::error();
log.error("failed: munmap(", shm->memp, ", ", shm->f_sz"). error = ", err); log.error("failed: munmap(", shm->memp, ", ", shm->f_sz, "). error = ", err);
return err.code(); return err.code();
} }
/// @brief no unlink the file. /// @brief no unlink the file.