diff options
-rw-r--r-- | test/nptl/tst-mqueue4.c | 4 |
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"); |