Re: [PATCH 05/24] mq_getattr.3: Fix prototype

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Applied!

Thanks,

Michael


On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> 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
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux