aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan T. Looney <jtl@FreeBSD.org>2018-06-01 16:47:39 +0000
committerJonathan T. Looney <jtl@FreeBSD.org>2018-06-01 16:47:39 +0000
commit651a790808d46b531062e7d4b4979b11bb45a2bb (patch)
treeb1cd4427705d62f79cee9080b2a7498815754d28
parentc27fcc70ccb853a9f4d90819692b2ce2e859ce2c (diff)
downloadsrc-651a790808d46b531062e7d4b4979b11bb45a2bb.tar.gz
src-651a790808d46b531062e7d4b4979b11bb45a2bb.zip
Update the sysctl(9) manpage to indicate that <sys/param.h> is required
instead of <sys/types.h>. (<sys/sysctl.h> includes NULL, which is defined with <sys/param.h> and not <sys/types.h>.) Sponsored by: Netflix
Notes
Notes: svn path=/head/; revision=334490
-rw-r--r--share/man/man9/sysctl.94
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man9/sysctl.9 b/share/man/man9/sysctl.9
index 2e989e774060..09c56871d7e9 100644
--- a/share/man/man9/sysctl.9
+++ b/share/man/man9/sysctl.9
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 3, 2018
+.Dd June 1, 2018
.Dt SYSCTL 9
.Os
.Sh NAME
@@ -80,7 +80,7 @@
.Nm SYSCTL_UQUAD
.Nd Dynamic and static sysctl MIB creation functions
.Sh SYNOPSIS
-.In sys/types.h
+.In sys/param.h
.In sys/sysctl.h
.Fn SYSCTL_DECL name
.Ft struct sysctl_oid *