aboutsummaryrefslogtreecommitdiff
path: root/rt/tst-mqueue4.c
diff options
context:
space:
mode:
Diffstat (limited to 'rt/tst-mqueue4.c')
-rw-r--r--rt/tst-mqueue4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rt/tst-mqueue4.c b/rt/tst-mqueue4.c
index fe45628..9fcaef1 100644
--- a/rt/tst-mqueue4.c
+++ b/rt/tst-mqueue4.c
@@ -175,14 +175,14 @@ do_test (void)
result = 1;
}
- q2 = mq_open (name, O_RDONLY, 0600);
+ q2 = mq_open (name, O_RDONLY);
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);
if (q3 == (mqd_t) -1)
{
printf ("mq_open without O_CREAT failed with %m\n");