diff --git a/base-linux/src/base/ipc/ipc.cc b/base-linux/src/base/ipc/ipc.cc index a3b15d824..befe9f859 100644 --- a/base-linux/src/base/ipc/ipc.cc +++ b/base-linux/src/base/ipc/ipc.cc @@ -135,7 +135,7 @@ static int lookup_tid_by_client_socket(int sd) * Synchronize calls so that the large 'sockaddr_un' can be allocated * in the BSS rather than the stack. */ - Lock lock; + static Lock lock; Lock::Guard guard(lock); static sockaddr_un name;