diff options
Diffstat (limited to 'nptl/tst-cleanup4.c')
-rw-r--r-- | nptl/tst-cleanup4.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nptl/tst-cleanup4.c b/nptl/tst-cleanup4.c index 1d3d53fb5f..f2e9f263e5 100644 --- a/nptl/tst-cleanup4.c +++ b/nptl/tst-cleanup4.c @@ -21,6 +21,8 @@ #include <stdlib.h> #include <unistd.h> +#include <support/xunistd.h> + /* LinuxThreads pthread_cleanup_{push,pop} helpers. */ extern void _pthread_cleanup_push (struct _pthread_cleanup_buffer *__buffer, void (*__routine) (void *), @@ -64,7 +66,7 @@ fn_read (void) } char c; - read (fds[0], &c, 1); + xread (fds[0], &c, 1); } |