mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
(tf1): Improve error message.
This commit is contained in:
parent
a9ead05666
commit
26f0119e7a
@ -45,7 +45,7 @@ tf1 (void *arg)
|
||||
/* This call must never return. */
|
||||
int e = pthread_mutex_timedlock (&m1, &ts);
|
||||
char buf[100];
|
||||
printf ("tf1: mutex_lock returned: %s\n",
|
||||
printf ("tf1: mutex_timedlock returned: %s\n",
|
||||
strerror_r (e, buf, sizeof (buf)));
|
||||
|
||||
exit (1);
|
||||
|
Loading…
Reference in New Issue
Block a user