mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 01:06:45 +08:00
fix: expected ‘)’ before string constant
This commit is contained in:
parent
89ba7c762f
commit
f8691a3a80
@ -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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user