Browse Source

use the internal pthread_mutex_init()

Mike Frysinger 19 years ago
parent
commit
19c6b0171e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libpthread/linuxthreads.old/lockfile.c

+ 1 - 1
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);
 }