docs/153654: [patch] incorrect include in sysctl.9
Joris Dedieu
joris.dedieu at gmail.com
Mon Jan 3 18:00:25 UTC 2011
>Number: 153654
>Category: docs
>Synopsis: [patch] incorrect include in sysctl.9
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 03 18:00:24 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Joris Dedieu
>Release: 8.1-RELEASE-p2
>Organization:
>Environment:
FreeBSD ladybug2.rmdir.fr 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #0: Mon Dec 27 15:39:23 CET 2010 joris at ladybug2.rmdir.fr:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Has DATA_SET is defined in sys/kernel.h most SYSTL_* macros don't work if you don't include it.
>How-To-Repeat:
>Fix:
--- share/man/man9/sysctl.9.orig 2011-01-03 18:43:53.000000000 +0100
+++ share/man/man9/sysctl.9 2011-01-03 18:44:17.000000000 +0100
@@ -44,7 +44,7 @@
.Nm SYSCTL_QUAD
.Nd Static sysctl declaration functions
.Sh SYNOPSIS
-.In sys/types.h
+.In sys/kernel.h
.In sys/sysctl.h
.Fn SYSCTL_DECL name
.Fn SYSCTL_INT parent nbr name access ptr val descr
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list