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

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

 



Signed-off-by: Alejandro Colomar <colomar.6.4.3@xxxxxxxxx>
---
 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;
 
-- 
2.28.0




[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