Re: [PATCH] clock_getres.2: EXAMPLES: Use 'const' when appropriate

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

 



On 10/28/20 8:32 PM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <colomar.6.4.3@xxxxxxxxx>

Hello Alex,

Thanks. Patch applied.

Cheers,

Michael


> ---
>  man2/clock_getres.2 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man2/clock_getres.2 b/man2/clock_getres.2
> index 4bd92f861..d47b50328 100644
> --- a/man2/clock_getres.2
> +++ b/man2/clock_getres.2
> @@ -476,7 +476,7 @@ CLOCK_BOOTTIME :      72691.019 (20h 11m 31s)
>  #define SECS_IN_DAY (24 * 60 * 60)
>  
>  static void
> -displayClock(clockid_t clock, char *name, bool showRes)
> +displayClock(clockid_t clock, const char *name, bool showRes)
>  {
>      struct timespec ts;
>  
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[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