diff options
-rw-r--r-- | libiohelp/initialize_conch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libiohelp/initialize_conch.c b/libiohelp/initialize_conch.c index fb2dcba2..b965ba5c 100644 --- a/libiohelp/initialize_conch.c +++ b/libiohelp/initialize_conch.c @@ -18,9 +18,9 @@ #include <libioserver.h> void -initialize_conch (struct conch *c) +initialize_conch (struct conch *c, struct mutex *m) { - mutex_init (&c->lock); + c->lock = m; condition_init (&c->wait); c->holder = 0; c->holder_shared_page = 0; |