From e057ac923deda9b3a28f8ec5b927ccf0a9479ba9 Mon Sep 17 00:00:00 2001 From: Adam Stevko Date: Mon, 7 Sep 2015 19:30:04 +0200 Subject: [PATCH] 6097 ks_snapshot(9e): Typo in the man page Reviewed by: Toomas Soome Reviewed by: Marcel Telka Approved by: Robert Mustacchi --- usr/src/man/man9e/ks_snapshot.9e | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/usr/src/man/man9e/ks_snapshot.9e b/usr/src/man/man9e/ks_snapshot.9e index f096a67557..47d490d4bc 100644 --- a/usr/src/man/man9e/ks_snapshot.9e +++ b/usr/src/man/man9e/ks_snapshot.9e @@ -3,7 +3,7 @@ .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH KS_SNAPSHOT 9E "Dec 4, 2002" +.TH KS_SNAPSHOT 9E "Sep 7, 2015" .SH NAME ks_snapshot \- take a snapshot of kstat data .SH SYNOPSIS @@ -20,11 +20,9 @@ ks_snapshot \- take a snapshot of kstat data .fi .SH INTERFACE LEVEL -.sp .LP Solaris DDI specific (Solaris DDI). .SH PARAMETERS -.sp .ne 2 .na \fB\fIksp\fR \fR @@ -70,7 +68,6 @@ Copy statistics from the buffer to the driver. .RE .SH DESCRIPTION -.sp .LP The \fBkstat\fR mechanism allows for an optional \fBks_snapshot()\fR function to copy \fBkstat\fR data. This is the routine that is called to marshall the @@ -107,7 +104,7 @@ raw statistics. The \fBks_private\fR field is available for this purpose. Its use is entirely at the provider's discretion. .sp .LP -No \fBkstat\fR locking should be done inside the \fBks_update()\fR routine. The +No \fBkstat\fR locking should be done inside the \fBks_snapshot()\fR routine. The caller will already be holding the \fBkstat\fR's \fBks_lock\fR (to ensure consistent data) and will prevent the \fBkstat\fR from being removed. .RS +4 @@ -123,7 +120,6 @@ Data gets copied from the \fBkstat\fR to the buffer on \fBKSTAT_READ\fR, and from the buffer to the \fBkstat\fR on \fBKSTAT_WRITE\fR. .RE .SH RETURN VALUES -.sp .ne 2 .na \fB\fB0\fR\fR @@ -151,7 +147,6 @@ For any other error .RE .SH CONTEXT -.sp .LP This function is called from user context only. .SH EXAMPLES @@ -192,7 +187,6 @@ xxx_kstat_snapshot(kstat_t *ksp, void *buf, int rw) .sp .SH SEE ALSO -.sp .LP \fBks_update\fR(9E), \fBkstat_create\fR(9F), \fBkstat_install\fR(9F), \fBkstat\fR(9S) -- 2.11.4.GIT