summaryrefslogtreecommitdiff
path: root/usr/src/man/man9f/getmajor.9f
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man9f/getmajor.9f')
-rw-r--r--usr/src/man/man9f/getmajor.9f10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr/src/man/man9f/getmajor.9f b/usr/src/man/man9f/getmajor.9f
index ad24241026..c67a1b4f82 100644
--- a/usr/src/man/man9f/getmajor.9f
+++ b/usr/src/man/man9f/getmajor.9f
@@ -4,7 +4,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 getmajor 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers"
+.TH GETMAJOR 9F "Jan 16, 2006"
.SH NAME
getmajor \- get major device number
.SH SYNOPSIS
@@ -26,12 +26,10 @@ Architecture independent level 1 (DDI/DKI).
.SH PARAMETERS
.sp
.ne 2
-.mk
.na
\fB\fIdev\fR\fR
.ad
.RS 7n
-.rt
Device number.
.RE
@@ -60,11 +58,11 @@ minor numbers for the device supported by the driver.
.sp
.in +2
.nf
-dev_t dev;
+dev_t dev;
-#ifdef DEBUG
+#ifdef DEBUG
cmn_err(CE_NOTE,"Driver Started. Major# = %d,
- Minor# = %d", getmajor(dev), getminor(dev));
+ Minor# = %d", getmajor(dev), getminor(dev));
#endif
.fi
.in -2