aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/mq_getattr.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/mq_getattr.3 b/man3/mq_getattr.3
index 2f439f584c..c1eb9d177d 100644
--- a/man3/mq_getattr.3
+++ b/man3/mq_getattr.3
@@ -202,7 +202,7 @@ main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
- mqd = mq_open(argv[1], O_CREAT | O_EXCL, S_IRUSR | S_IWUSR, NULL);
+ mqd = mq_open(argv[1], O_CREAT | O_EXCL, 0600, NULL);
if (mqd == (mqd_t) \-1)
errExit("mq_open");