The newattr parameter to mq_setattr is const. Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx> --- man3/mq_getattr.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man3/mq_getattr.3 b/man3/mq_getattr.3 index 121faa1..dbe8125 100644 --- a/man3/mq_getattr.3 +++ b/man3/mq_getattr.3 @@ -32,7 +32,7 @@ mq_getattr, mq_setattr \- get/set message queue attributes .sp .BI "int mq_getattr(mqd_t " mqdes ", struct mq_attr *" attr ); -.BI "int mq_setattr(mqd_t " mqdes ", struct mq_attr *" newattr "," +.BI "int mq_setattr(mqd_t " mqdes ", const struct mq_attr *" newattr "," .BI " struct mq_attr *" oldattr ); .fi .sp -- 1.9.2 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html