summaryrefslogtreecommitdiff
path: root/accel-pptpd/memdebug.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2010-11-21 17:31:00 +0300
committerDmitry Kozlov <xeb@mail.ru>2010-11-21 17:31:00 +0300
commita09fdabf7939819581c6b7797b180a18c4f477fa (patch)
tree4cfaa02377ff7a660c53099c300de0890dff5d3f /accel-pptpd/memdebug.c
parentddad202eca1c0a1d95321bd396df0dda01620a2b (diff)
downloadaccel-ppp-a09fdabf7939819581c6b7797b180a18c4f477fa.tar.gz
accel-ppp-a09fdabf7939819581c6b7797b180a18c4f477fa.zip
bug fixes
Diffstat (limited to 'accel-pptpd/memdebug.c')
-rw-r--r--accel-pptpd/memdebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/memdebug.c b/accel-pptpd/memdebug.c
index 2acdc7a8..d36779e1 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)
{