summaryrefslogtreecommitdiff
path: root/src/libstrongswan/database/database_factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/database/database_factory.c')
-rw-r--r--src/libstrongswan/database/database_factory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/database/database_factory.c b/src/libstrongswan/database/database_factory.c
index 76e0a4e89..ef6927874 100644
--- a/src/libstrongswan/database/database_factory.c
+++ b/src/libstrongswan/database/database_factory.c
@@ -110,7 +110,7 @@ database_factory_t *database_factory_create()
this->public.destroy = (void(*)(database_factory_t*))destroy;
this->databases = linked_list_create();
- this->mutex = mutex_create(MUTEX_DEFAULT);
+ this->mutex = mutex_create(MUTEX_TYPE_DEFAULT);
return &this->public;
}