diff options
Diffstat (limited to 'sysdeps/pthread/tst-signal2.c')
-rw-r--r-- | sysdeps/pthread/tst-signal2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/pthread/tst-signal2.c b/sysdeps/pthread/tst-signal2.c index dfe7d9f64a..15b7747877 100644 --- a/sysdeps/pthread/tst-signal2.c +++ b/sysdeps/pthread/tst-signal2.c @@ -25,6 +25,7 @@ #include <sys/wait.h> #include <string.h> +#include <support/xunistd.h> static sigset_t ss; static pthread_barrier_t *b; @@ -111,7 +112,7 @@ do_test (void) int i; for (i = 0; i < 20; ++i) - write (fd, "foobar xyzzy", 12); + xwrite (fd, "foobar xyzzy", 12); b = mmap (NULL, sizeof (pthread_barrier_t), PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); |