diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-04-23 09:48:10 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-04-23 09:51:57 +0200 |
commit | 0bdd79794526114313135c528969bb25be88c1a3 (patch) | |
tree | 4d5f90d73c8ff6e72fbbd08abf413fbfa3f682ab /sysdeps/pthread/tst-robust10.c | |
parent | 8a229ee93c17cf5d0aff9ba81a3acfa146f1dae0 (diff) | |
download | glibc-0bdd79794526114313135c528969bb25be88c1a3.tar.gz glibc-0bdd79794526114313135c528969bb25be88c1a3.tar.xz glibc-0bdd79794526114313135c528969bb25be88c1a3.zip |
pthread: Use pthread_mutexattr_setrobust in tests
pthread_mutexattr_setrobust_np is about to be deprecated.
Diffstat (limited to 'sysdeps/pthread/tst-robust10.c')
-rw-r--r-- | sysdeps/pthread/tst-robust10.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/pthread/tst-robust10.c b/sysdeps/pthread/tst-robust10.c index 912376e205..b814806c94 100644 --- a/sysdeps/pthread/tst-robust10.c +++ b/sysdeps/pthread/tst-robust10.c @@ -56,7 +56,7 @@ do_test (void) puts ("mutexattr_init failed"); return 0; } - if (pthread_mutexattr_setrobust_np (&ma, PTHREAD_MUTEX_ROBUST_NP) != 0) + if (pthread_mutexattr_setrobust (&ma, PTHREAD_MUTEX_ROBUST_NP) != 0) { puts ("mutexattr_setrobust failed"); return 1; |