Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 2021 17:04:50 GMT
From:      Piotr Pawel Stefaniak <pstef@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 4f556830dec1 - main - nanosleep.2: use appropriate macros
Message-ID:  <202110111704.19BH4ogt036623@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pstef:

URL: https://cgit.FreeBSD.org/src/commit/?id=4f556830dec19ec8821b2ff939ab181192ea4dfc

commit 4f556830dec19ec8821b2ff939ab181192ea4dfc
Author:     Piotr Pawel Stefaniak <pstef@FreeBSD.org>
AuthorDate: 2021-10-09 16:00:01 +0000
Commit:     Piotr Pawel Stefaniak <pstef@FreeBSD.org>
CommitDate: 2021-10-11 16:57:58 +0000

    nanosleep.2: use appropriate macros
    
    Reported by:    kib
    Fixes:          bf8f6ffcb66a
---
 lib/libc/sys/nanosleep.2 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/libc/sys/nanosleep.2 b/lib/libc/sys/nanosleep.2
index 12758a974f7f..eb75c4b1043b 100644
--- a/lib/libc/sys/nanosleep.2
+++ b/lib/libc/sys/nanosleep.2
@@ -94,7 +94,10 @@ returns immediately and the calling thread is not suspended.
 The suspension time may be longer than requested due to the
 scheduling of other activity by the system.
 It is also subject to the allowed time interval deviation
-specified by the sysctl kern.timecounter.alloweddeviation.
+specified by the
+.Va kern.timecounter.alloweddeviation
+.Xr sysctl 8
+variable.
 An unmasked signal will terminate the sleep early, regardless of the
 .Dv SA_RESTART
 value on the interrupting signal.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110111704.19BH4ogt036623>