diff --git a/lib/libc/sys/mq_open.2 b/lib/libc/sys/mq_open.2 index ef6154b7ff5..9b02d509c52 100644 --- a/lib/libc/sys/mq_open.2 +++ b/lib/libc/sys/mq_open.2 @@ -133,7 +133,7 @@ Create a message queue. It requires two additional arguments: .Fa mode , which is of type -.Vt mode_t , +.Vt int , and .Fa attr , which is a pointer to an diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index fe50b292d1b..a771461e2e4 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -61,7 +61,7 @@ In this case and .Fn openat require an additional argument -.Fa "mode_t mode" , +.Fa "int mode" , and the file is created with mode .Fa mode as described in