diff options
Diffstat (limited to 'sysdeps/pthread/tst-timer.c')
-rw-r--r-- | sysdeps/pthread/tst-timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/pthread/tst-timer.c b/sysdeps/pthread/tst-timer.c index 47472ab8e1..4cfe0b67dc 100644 --- a/sysdeps/pthread/tst-timer.c +++ b/sysdeps/pthread/tst-timer.c @@ -24,6 +24,7 @@ #include <stdlib.h> #include <stdint.h> +#include <support/xunistd.h> static void notify_func1 (union sigval sigval) @@ -44,7 +45,7 @@ signal_func (int sig) { static const char text[] = "signal_func\n"; signal (sig, signal_func); - write (STDOUT_FILENO, text, sizeof text - 1); + xwrite (STDOUT_FILENO, text, sizeof text - 1); } static void |