summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorcheloha <cheloha@openbsd.org>2019-01-18 05:27:25 +0000
committercheloha <cheloha@openbsd.org>2019-01-18 05:27:25 +0000
commitaf3c369bf381f27f7c31ec9938d10c1a7a95973d (patch)
tree113bbd91d4fab3f6fe97965725320e1e23a776b7 /lib/libc
parentfutex(2): validate relative timeout before sleeping. (diff)
downloadwireguard-openbsd-af3c369bf381f27f7c31ec9938d10c1a7a95973d.tar.xz
wireguard-openbsd-af3c369bf381f27f7c31ec9938d10c1a7a95973d.zip
Adjust EINVAL wording: tv_nsec cannot be 1 billion, either.
Diffstat (limited to 'lib/libc')
-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