summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-02-15 23:41:20 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-02-15 23:41:20 +0000
commit09ec79385a297c32750027541bde97b49b818c3f (patch)
treec8d3ef28225650d570ce5e1f16c85b138b77d228 /share/man
parent88fcc5cdf81d9c2c51784bbe53476c4ea13825ce (diff)
say more explicitly where the .Er values show up, and fix the .Sh title;
triggered because Jan Stary noticed that .Sh RETURN VALUES is strange to have in section 4 manuals; ok matthieu@
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/man4.amd64/mtrr.411
-rw-r--r--share/man/man4/man4.i386/mtrr.411
2 files changed, 16 insertions, 6 deletions
diff --git a/share/man/man4/man4.amd64/mtrr.4 b/share/man/man4/man4.amd64/mtrr.4
index 0006ede91e8..4a88f4aceff 100644
--- a/share/man/man4/man4.amd64/mtrr.4
+++ b/share/man/man4/man4.amd64/mtrr.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mtrr.4,v 1.7 2014/01/21 03:15:46 schwarze Exp $
+.\" $OpenBSD: mtrr.4,v 1.8 2014/02/15 23:41:19 schwarze Exp $
.\"
.\" MTRR driver for OpenBSD.
.\" Copyright 1999 Matthieu Herrb <matthieu@openbsd.org>
@@ -7,7 +7,7 @@
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: February 15 2014 $
.Dt MTRR 4 amd64
.Os
.Sh NAME
@@ -107,7 +107,12 @@ flag may not be removed.
.Fa mo_arg[0]
should be set to MEMRANGE_SET_UPDATE to update an existing
or establish a new range, or to MEMRANGE_SET_REMOVE to remove a range.
-.Sh RETURN VALUES
+.Sh ERRORS
+On
+.Xr ioctl 2
+failure,
+.Xr errno 2
+will be set as follows:
.Bl -tag -width Er
.It Bq Er EOPNOTSUPP
Memory range operations are not supported on this architecture.
diff --git a/share/man/man4/man4.i386/mtrr.4 b/share/man/man4/man4.i386/mtrr.4
index c078ccf5adb..6636011e590 100644
--- a/share/man/man4/man4.i386/mtrr.4
+++ b/share/man/man4/man4.i386/mtrr.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mtrr.4,v 1.16 2014/01/21 03:15:46 schwarze Exp $
+.\" $OpenBSD: mtrr.4,v 1.17 2014/02/15 23:41:19 schwarze Exp $
.\"
.\" Pentium MTRR driver for OpenBSD.
.\" Copyright 1999 Matthieu Herrb <matthieu@openbsd.org>
@@ -8,7 +8,7 @@
.\" OpenBSD project (for instance by leaving this copyright notice
.\" intact).
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: February 15 2014 $
.Dt MTRR 4 i386
.Os
.Sh NAME
@@ -108,7 +108,12 @@ flag may not be removed.
.Fa mo_arg[0]
should be set to MEMRANGE_SET_UPDATE to update an existing
or establish a new range, or to MEMRANGE_SET_REMOVE to remove a range.
-.Sh RETURN VALUES
+.Sh ERRORS
+On
+.Xr ioctl 2
+failure,
+.Xr errno 2
+will be set as follows:
.Bl -tag -width Er
.It Bq Er EOPNOTSUPP
Memory range operations are not supported on this architecture.