diff options
Diffstat (limited to 'accel-pptpd/memdebug.c')
-rw-r--r-- | accel-pptpd/memdebug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/memdebug.c b/accel-pptpd/memdebug.c index 2acdc7a..d36779e 100644 --- a/accel-pptpd/memdebug.c +++ b/accel-pptpd/memdebug.c @@ -39,7 +39,7 @@ struct mem_t }; static LIST_HEAD(mem_list); -static spinlock_t mem_list_lock; +static spinlock_t mem_list_lock = SPINLOCK_INITIALIZER; struct mem_t *_md_malloc(size_t size, const char *fname, int line) { |