summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-06 01:08:18 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-06 01:08:18 +0000
commit19c6b0171eb145ab09968331b7ecee9ee06cef08 (patch)
tree0361bcece7c9a3c85c251d6f3c5cd69841158a7e
parent9ac20d30b1122bf9b126b9e5dcedb327f064576c (diff)
use the internal pthread_mutex_init()
-rw-r--r--libpthread/linuxthreads.old/lockfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads.old/lockfile.c b/libpthread/linuxthreads.old/lockfile.c
index b0f41c98a..7bd2155ac 100644
--- a/libpthread/linuxthreads.old/lockfile.c
+++ b/libpthread/linuxthreads.old/lockfile.c
@@ -33,7 +33,7 @@ __fresetlockfiles (void)
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
for (fp = _stdio_openlist; fp != NULL; fp = fp->__nextopen)
- pthread_mutex_init(&fp->__lock, &attr);
+ __pthread_mutex_init(&fp->__lock, &attr);
pthread_mutexattr_destroy(&attr);
}