Module Name: src
Committed By: joerg
Date: Wed Apr 8 12:50:01 UTC 2009
Modified Files:
src/share/man/man9: sysctl.9
Log Message:
Replace .sp in literal display with empty line.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/share/man/man9/sysctl.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/sysctl.9
diff -u src/share/man/man9/sysctl.9:1.13 src/share/man/man9/sysctl.9:1.14
--- src/share/man/man9/sysctl.9:1.13 Wed Nov 12 12:35:54 2008
+++ src/share/man/man9/sysctl.9 Wed Apr 8 12:50:00 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: sysctl.9,v 1.13 2008/11/12 12:35:54 ad Exp $
+.\" $NetBSD: sysctl.9,v 1.14 2009/04/08 12:50:00 joerg Exp $
.\"
.\" Copyright (c) 2004 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -468,22 +468,22 @@
.Pp
.Bd -literal -offset indent -compact
static int sysctl_helper(SYSCTLFN_PROTO);
-.sp
+
static int
sysctl_helper(SYSCTLFN_ARGS)
{
struct sysctlnode node;
int t, error;
-.sp
+
node = *rnode;
node.sysctl_data = \*[Am]t;
error = sysctl_lookup(SYSCTLFN_CALL(\*[Am]node));
if (error || newp == NULL)
return (error);
-.sp
+
if (t \*[Lt] 0 || t \*[Gt] 20)
return (EINVAL);
-.sp
+
*(int*)rnode-\*[Gt]sysctl_data = t;
return (0);
}