From owner-svn-src-all@FreeBSD.ORG Sat Aug 2 18:37:09 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4CFB6A3B; Sat, 2 Aug 2014 18:37:09 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A7662039; Sat, 2 Aug 2014 18:37:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s72Ib98a010739; Sat, 2 Aug 2014 18:37:09 GMT (envelope-from hselasky@svn.freebsd.org) Received: (from hselasky@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s72Ib9wm010738; Sat, 2 Aug 2014 18:37:09 GMT (envelope-from hselasky@svn.freebsd.org) Message-Id: <201408021837.s72Ib9wm010738@svn.freebsd.org> From: Hans Petter Selasky Date: Sat, 2 Aug 2014 18:37:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269439 - head/share/man/man9 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2014 18:37:09 -0000 Author: hselasky Date: Sat Aug 2 18:37:08 2014 New Revision: 269439 URL: http://svnweb.freebsd.org/changeset/base/269439 Log: - Spelling corrections Suggested by: Garrett Cooper PR: 192101 Modified: head/share/man/man9/sysctl.9 Modified: head/share/man/man9/sysctl.9 ============================================================================== --- head/share/man/man9/sysctl.9 Sat Aug 2 17:58:20 2014 (r269438) +++ head/share/man/man9/sysctl.9 Sat Aug 2 18:37:08 2014 (r269439) @@ -243,22 +243,22 @@ See for how to create a new sysctl context. Programmers are strongly advised to use contexts to organize the dynamic OIDs which they create because when a context is destroyed all -belonging sysctls are destroyed aswell. +belonging sysctls are destroyed as well. This makes the sysctl cleanup code much simpler. -Else deletion of all created OIDs is required at module unload typically. +Else deletion of all created OIDs is required at module unload. .It Fa parent A pointer to a .Li struct sysctl_oid_list , which is the head of the parent's list of children. -This pointer is retrieved by using the +This pointer is retrieved using the .Fn SYSCTL_STATIC_CHILDREN macro for static sysctls and the .Fn SYSCTL_CHILDREN macro for dynamic sysctls. -To get the parent of an OID the +The .Fn SYSCTL_PARENT -macro shall be used. -If there is no parent this macro returns NULL. +macro can be used to get the parent of an OID. +The macro returns NULL if there is no parent. .It Fa number The OID number that will be assigned to this OID. In almost all cases this should be set to