summaryrefslogtreecommitdiff
path: root/sys/dev/ata/wd.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2007-04-28 02:24:22 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2007-04-28 02:24:22 +0000
commit3743ce8792f129770c3cd12d20bb1fad46678825 (patch)
tree1ea6a657e132a8567fc1b8aca4f42c64874d57a5 /sys/dev/ata/wd.c
parent111e4f2187e2e7d9357dcad5794a3edd102863af (diff)
Fix comments above DISKMINOR uses. DISKMINOR provides minor not major
number (wd.c), and the uses are to find the minimum minor to be detached.
Diffstat (limited to 'sys/dev/ata/wd.c')
-rw-r--r--sys/dev/ata/wd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index c0edc79e5e3..7ad8b0923c8 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wd.c,v 1.57 2007/04/27 11:37:56 krw Exp $ */
+/* $OpenBSD: wd.c,v 1.58 2007/04/28 02:24:21 krw Exp $ */
/* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */
/*
@@ -390,7 +390,7 @@ wddetach(struct device *self, int flags)
}
splx(s);
- /* locate the major number */
+ /* Locate the lowest minor number to be detached. */
mn = DISKMINOR(self->dv_unit, 0);
for (bmaj = 0; bmaj < nblkdev; bmaj++)