aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-03-04 13:48:04 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-03-04 14:32:30 +0100
commita2300b58d14db599ad66d7a8b725a04983f9902e (patch)
tree7006d484165393cb0cc3f929e7343dce5f885fa2
parent77a47e474d2d29b9f8eceb18f02399a758b2d768 (diff)
downloadman-pages-a2300b58d14db599ad66d7a8b725a04983f9902e.tar.gz
adjtimex.2: Update details of buf.offset EINVAL error
Reported-by: Naresh Kamboju <naresh.kernel@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/adjtimex.26
1 files changed, 4 insertions, 2 deletions
diff --git a/man2/adjtimex.2 b/man2/adjtimex.2
index 8f52b64041..4d29fbb24b 100644
--- a/man2/adjtimex.2
+++ b/man2/adjtimex.2
@@ -378,10 +378,12 @@ returns \-1 and sets
.I buf
does not point to writable memory.
.TP
-.B EINVAL
+.BR EINVAL " (kernels before Linux 2.6.26)"
An attempt was made to set
.I buf.offset
-to a value outside the range \-131071 to +131071.
+to a value outside the permitted range.
+In kernels before Linux 2.0, the permitted range was (\-131072, +131072).
+From Linux 2.0 onwards, the permitted range was (\-512000, +512000).
.TP
.B EINVAL
An attempt was made to set