diff options
Diffstat (limited to 'src/thread/pthread_atfork.c')
-rw-r--r-- | src/thread/pthread_atfork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_atfork.c b/src/thread/pthread_atfork.c index a40d7f63..c6f77b3f 100644 --- a/src/thread/pthread_atfork.c +++ b/src/thread/pthread_atfork.c @@ -8,7 +8,7 @@ static struct atfork_funcs { struct atfork_funcs *prev, *next; } *funcs; -static volatile int lock[2]; +static volatile int lock[1]; void __fork_handler(int who) { |