about summary refs log tree commit diff
path: root/nscd
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-05-30 15:01:21 +0000
committerUlrich Drepper <drepper@redhat.com>2006-05-30 15:01:21 +0000
commitcabfcde1113be7e1d09d2cb0e2a9a4730005122d (patch)
tree5f809e07b3a35beea3e0109f1675158a9ae83ada /nscd
parent9636a217e4a0a73113ffdaa9a2f0c8d1749cf1d9 (diff)
downloadglibc-cabfcde1113be7e1d09d2cb0e2a9a4730005122d.tar.gz
glibc-cabfcde1113be7e1d09d2cb0e2a9a4730005122d.tar.xz
glibc-cabfcde1113be7e1d09d2cb0e2a9a4730005122d.zip
* nscd/connections.c (dbs): Initialize .prunelock.
Diffstat (limited to 'nscd')
-rw-r--r--nscd/connections.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nscd/connections.c b/nscd/connections.c
index 8b4493a44c..da837b5e8a 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -100,6 +100,7 @@ struct database_dyn dbs[lastdb] =
 {
   [pwddb] = {
     .lock = PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP,
+    .prunelock = PTHREAD_MUTEX_INITIALIZER,
     .enabled = 0,
     .check_file = 1,
     .persistent = 0,
@@ -117,6 +118,7 @@ struct database_dyn dbs[lastdb] =
   },
   [grpdb] = {
     .lock = PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP,
+    .prunelock = PTHREAD_MUTEX_INITIALIZER,
     .enabled = 0,
     .check_file = 1,
     .persistent = 0,
@@ -134,6 +136,7 @@ struct database_dyn dbs[lastdb] =
   },
   [hstdb] = {
     .lock = PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP,
+    .prunelock = PTHREAD_MUTEX_INITIALIZER,
     .enabled = 0,
     .check_file = 1,
     .persistent = 0,