summaryrefslogtreecommitdiff
path: root/sysutils/gamin/patches/patch-aa
blob: 6092b346866b823343800b13a5b26793f0283ac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.2 2005/08/30 23:24:33 jlam Exp $

--- libgamin/gam_data.c.orig	2005-05-18 10:45:04.000000000 -0400
+++ libgamin/gam_data.c
@@ -471,7 +471,7 @@ gamin_data_new(void)
     }
     if (is_threaded > 0) {
 	pthread_mutexattr_init(&attr);
-	pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
+	pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
 	pthread_mutex_init(&ret->lock, &attr);
 	pthread_mutexattr_destroy(&attr);
     }