summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2019-01-18 05:27:26 +0000
committercheloha <cheloha@cvs.openbsd.org>2019-01-18 05:27:26 +0000
commitbc600692df0d5a5711142c13389d89eda4d0940a (patch)
tree603ed3b54440a1ed6221ce4c05cc918fc146e07a
parentd571f38fd5117df0370712be6a0b207950943329 (diff)
Adjust EINVAL wording: tv_nsec cannot be 1 billion, either.
-rw-r--r--lib/libc/sys/clock_gettime.27
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2
index 50a2cef4de8..70fa87c4b7a 100644
--- a/lib/libc/sys/clock_gettime.2
+++ b/lib/libc/sys/clock_gettime.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: clock_gettime.2,v 1.29 2017/12/18 07:15:15 jmc Exp $
+.\" $OpenBSD: clock_gettime.2,v 1.30 2019/01/18 05:27:25 cheloha Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 18 2017 $
+.Dd $Mdocdate: January 18 2019 $
.Dt CLOCK_GETTIME 2
.Os
.Sh NAME
@@ -139,7 +139,8 @@ A user other than the superuser attempted to set the time.
.Fa clock_id
specifies a clock that isn't settable,
.Fa tp
-specifies a nanosecond value less than zero or greater than 1000 million,
+specifies a nanosecond value less than zero or greater than or equal to
+1000 million,
or a value outside the range of the specified clock.
.El
.Sh SEE ALSO