about summary refs log tree commit diff
path: root/linuxthreads/lockfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/lockfile.c')
-rw-r--r--linuxthreads/lockfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/lockfile.c b/linuxthreads/lockfile.c
index b0cb2ca006..0c9cf27591 100644
--- a/linuxthreads/lockfile.c
+++ b/linuxthreads/lockfile.c
@@ -1,5 +1,5 @@
 /* lockfile - Handle locking and unlocking of stream.
-   Copyright (C) 1996 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -77,7 +77,7 @@ __fresetlockfiles (void)
   pthread_mutexattr_t attr;
 
   __pthread_mutexattr_init (&attr);
-  __pthread_mutexattr_setkind_np (&attr, PTHREAD_MUTEX_RECURSIVE_NP);
+  __pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE_NP);
 
   for (fp = _IO_list_all; fp != NULL; fp = fp->_chain)
     __pthread_mutex_init (fp->_lock, &attr);