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>
This commit is contained in:
Alejandro Colomar 2020-10-28 20:32:45 +01:00 committed by Michael Kerrisk
parent 93f369892a
commit 276dc9a3cc
1 changed files with 1 additions and 1 deletions

View File

@ -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;