diff options
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/mmap.c b/linux-user/mmap.c index aa5813f148..aa22006ff3 100644 --- a/linux-user/mmap.c +++ b/linux-user/mmap.c @@ -36,7 +36,7 @@ //#define DEBUG_MMAP #if defined(USE_NPTL) -pthread_mutex_t mmap_mutex; +pthread_mutex_t mmap_mutex = PTHREAD_MUTEX_INITIALIZER; static int __thread mmap_lock_count; void mmap_lock(void) |