diff options
Diffstat (limited to 'nptl/tst-stackguard1.c')
-rw-r--r-- | nptl/tst-stackguard1.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nptl/tst-stackguard1.c b/nptl/tst-stackguard1.c index b9cf6844de..4ac57157e9 100644 --- a/nptl/tst-stackguard1.c +++ b/nptl/tst-stackguard1.c @@ -27,6 +27,8 @@ #include <tls.h> #include <unistd.h> +#include <support/xunistd.h> + static const char *command; static bool child; static uintptr_t stack_chk_guard_copy; @@ -96,7 +98,7 @@ do_test (void) else if (ret != NULL) return 1; - write (2, &stack_chk_guard_copy, sizeof (stack_chk_guard_copy)); + xwrite (2, &stack_chk_guard_copy, sizeof (stack_chk_guard_copy)); return 0; } |