Module Name: src
Committed By: kre
Date: Wed Oct 9 11:11:54 UTC 2024
Modified Files:
src/share/man/man9: ts2timo.9
Log Message:
ts2timo() uses struct timespec, those don't have a tv_usec
field, they have tv_nsec instead. EINVAL will happen if the
tv_nsec field is invalid, not the non-existant tv_usec field.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man9/ts2timo.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/ts2timo.9
diff -u src/share/man/man9/ts2timo.9:1.3 src/share/man/man9/ts2timo.9:1.4
--- src/share/man/man9/ts2timo.9:1.3 Fri May 24 14:41:32 2013
+++ src/share/man/man9/ts2timo.9 Wed Oct 9 11:11:54 2024
@@ -1,4 +1,4 @@
-.\" $NetBSD: ts2timo.9,v 1.3 2013/05/24 14:41:32 njoly Exp $
+.\" $NetBSD: ts2timo.9,v 1.4 2024/10/09 11:11:54 kre Exp $
.\"
.\" Copyright (c) 2013 Christos Zoulas
.\" All rights reserved.
@@ -71,7 +71,7 @@ if interval computed was
or negative, and
.Er EINVAL
if
-.Fa ts->tv_usec
+.Fa ts->tv_nsec
field in the computed interval is out of range, or the
.Fa clock_id
argument is invalid.