From 9a82d4d95eec1973d34267193e575c02106e1538 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 13 May 2018 16:20:56 +0200 Subject: [PATCH] gettimeofday.2: Minor rewording of settimeofday() EINVAL error for timezone Signed-off-by: Michael Kerrisk --- man2/clock_getres.2 | 2 +- man2/gettimeofday.2 | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/man2/clock_getres.2 b/man2/clock_getres.2 index fa2e922ff2..c32f9e183f 100644 --- a/man2/clock_getres.2 +++ b/man2/clock_getres.2 @@ -209,7 +209,7 @@ specified is not supported on this system. .RB ( clock_settime ()): .I tp.tv_sec is negative or -.I tv.tv_nsec +.I tp.tv_nsec is outside the range [0..999,999,999]. .TP .B EPERM diff --git a/man2/gettimeofday.2 b/man2/gettimeofday.2 index b36543612b..049b3613fe 100644 --- a/man2/gettimeofday.2 +++ b/man2/gettimeofday.2 @@ -155,7 +155,9 @@ or pointed outside the accessible address space. .TP .B EINVAL -Timezone (or something else) is invalid. +.RB ( settimeofday ()): +.I timezone +is invalid. .TP .B EPERM The calling process has insufficient privilege to call -- 2.39.2