diff options
| author | Alejandro Colomar <colomar.6.4.3@gmail.com> | 2020-10-28 20:32:45 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-10-28 22:13:50 +0100 |
| commit | 276dc9a3cc8972d010a545ab2f8dabb606a8163d (patch) | |
| tree | f4d03cf6484cfa846bba0431d38ab01538b6f96f /man2 | |
| parent | 93f369892aeab4d56b92962224e318f739ee2455 (diff) | |
| download | man-pages-276dc9a3cc8972d010a545ab2f8dabb606a8163d.tar.gz | |
clock_getres.2: EXAMPLES: Use 'const' when appropriate
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
| -rw-r--r-- | man2/clock_getres.2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/clock_getres.2 b/man2/clock_getres.2 index 4bd92f8612..d47b503288 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; |
