Skip to content

Commit 5eebaeb

Browse files
authored
Update mutex.h
1 parent 15b572b commit 5eebaeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libipc/platform/posix/mutex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class mutex {
115115
ipc::error("fail pthread_mutexattr_init[%d]\n", eno);
116116
return false;
117117
}
118-
IPC_UNUSED_ auto guard_mutex_attr = guard([&mutex_attr] { ::pthread_mutexattr_destroy(&mutex_attr); };
118+
IPC_UNUSED_ auto guard_mutex_attr = guard([&mutex_attr] { ::pthread_mutexattr_destroy(&mutex_attr); });
119119
if ((eno = ::pthread_mutexattr_setpshared(&mutex_attr, PTHREAD_PROCESS_SHARED)) != 0) {
120120
ipc::error("fail pthread_mutexattr_setpshared[%d]\n", eno);
121121
return false;

0 commit comments

Comments
 (0)