diff options
author | Frédéric Bérat <fberat@redhat.com> | 2023-06-01 12:40:05 -0400 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2023-06-01 12:40:05 -0400 |
commit | 026a84a54d3b6c23b999b793e2a6f8ecd211e3b8 (patch) | |
tree | a2d31c6c98b1de645aee08e9f8d907ec1961bd7d /nptl/tst-tls3.c | |
parent | a8c888997845c5192e446176374c2e13bb3e2195 (diff) | |
download | glibc-026a84a54d3b6c23b999b793e2a6f8ecd211e3b8.tar glibc-026a84a54d3b6c23b999b793e2a6f8ecd211e3b8.tar.gz glibc-026a84a54d3b6c23b999b793e2a6f8ecd211e3b8.tar.bz2 glibc-026a84a54d3b6c23b999b793e2a6f8ecd211e3b8.zip |
tests: replace write by xwrite
Using write without cheks leads to warn unused result when __wur is
enabled.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'nptl/tst-tls3.c')
-rw-r--r-- | nptl/tst-tls3.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/tst-tls3.c b/nptl/tst-tls3.c index b1a40c624a..33d94c8cc5 100644 --- a/nptl/tst-tls3.c +++ b/nptl/tst-tls3.c @@ -26,6 +26,8 @@ #include <unistd.h> #include <pthreaddef.h> +#include <support/xunistd.h> + #define THE_SIG SIGUSR1 /* The stack size can be overriden. With a sufficiently large stack |