summaryrefslogtreecommitdiff
path: root/lib/libc/compat-43
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2018-01-12 04:36:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2018-01-12 04:36:46 +0000
commit0e94a1811d3a0a09a95a4896e07890c31b54c409 (patch)
treeb86636f5172c62919742a8f602405729b4e869f4 /lib/libc/compat-43
parenta8304155f5966c115e4962fd0b23501e72f62c86 (diff)
Adjust references for sysctl(3) to sysctl(2)
Diffstat (limited to 'lib/libc/compat-43')
-rw-r--r--lib/libc/compat-43/getdtablesize.36
-rw-r--r--lib/libc/compat-43/gethostid.38
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/compat-43/getdtablesize.3 b/lib/libc/compat-43/getdtablesize.3
index 18627a0c13a..32e7cd333e6 100644
--- a/lib/libc/compat-43/getdtablesize.3
+++ b/lib/libc/compat-43/getdtablesize.3
@@ -25,9 +25,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: getdtablesize.3,v 1.12 2014/12/12 01:40:04 deraadt Exp $
+.\" $OpenBSD: getdtablesize.3,v 1.13 2018/01/12 04:36:44 deraadt Exp $
.\"
-.Dd $Mdocdate: December 12 2014 $
+.Dd $Mdocdate: January 12 2018 $
.Dt GETDTABLESIZE 3
.Os
.Sh NAME
@@ -54,7 +54,7 @@ returns the size of this table.
.Xr select 2 ,
.Xr setrlimit 2 ,
.Xr sysconf 3 ,
-.Xr sysctl 3
+.Xr sysctl 2
.Sh HISTORY
The
.Fn getdtablesize
diff --git a/lib/libc/compat-43/gethostid.3 b/lib/libc/compat-43/gethostid.3
index b4cc3b786d9..edd4a9e8b44 100644
--- a/lib/libc/compat-43/gethostid.3
+++ b/lib/libc/compat-43/gethostid.3
@@ -25,9 +25,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: gethostid.3,v 1.13 2013/07/17 05:42:10 schwarze Exp $
+.\" $OpenBSD: gethostid.3,v 1.14 2018/01/12 04:36:44 deraadt Exp $
.\"
-.Dd $Mdocdate: July 17 2013 $
+.Dd $Mdocdate: January 12 2018 $
.Dt GETHOSTID 3
.Os
.Sh NAME
@@ -55,10 +55,10 @@ returns the 32-bit identifier for the current processor.
.Pp
This function has been deprecated.
The hostid should be set or retrieved by use of
-.Xr sysctl 3 .
+.Xr sysctl 2 .
.Sh SEE ALSO
.Xr gethostname 3 ,
-.Xr sysctl 3 ,
+.Xr sysctl 2 ,
.Xr sysctl 8
.Sh HISTORY
The