summaryrefslogtreecommitdiff
path: root/test/nptl
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx-github@users.noreply.github.com>2019-10-29 11:45:04 +0100
committerGitHub <noreply@github.com>2019-10-29 11:45:04 +0100
commite3b758dc9f74d6b7ec5b19df1d192a0eec6acd40 (patch)
tree6e3fcd4f8d0a8869b68d5385950be72886e2e0e6 /test/nptl
parent1dfaf25d8c83b19d2e34b92d82f3eaaba4ef1062 (diff)
parent04052336f84a84811dd03bfed4cfcb4fe7b424cc (diff)
Merge pull request #1 from ffontaine/master
Fix build with latest glibc
Diffstat (limited to 'test/nptl')
-rw-r--r--test/nptl/tst-mqueue4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/nptl/tst-mqueue4.c b/test/nptl/tst-mqueue4.c
index 87ef0c3..1fbecc5 100644
--- a/test/nptl/tst-mqueue4.c
+++ b/test/nptl/tst-mqueue4.c
@@ -171,14 +171,14 @@ do_test (void)
result = 1;
}
- q2 = mq_open (name, O_RDONLY, 0600);
+ q2 = mq_open (name, O_RDONLY, 0600, &attr);
if (q2 == (mqd_t) -1)
{
printf ("mq_open without O_CREAT failed with %m\n");
result = 1;
}
- mqd_t q3 = mq_open (name, O_RDONLY, 0600);
+ mqd_t q3 = mq_open (name, O_RDONLY, 0600, &attr);
if (q3 == (mqd_t) -1)
{
printf ("mq_open without O_CREAT failed with %m\n");