summaryrefslogtreecommitdiff
path: root/sys/scsi/cd.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/scsi/cd.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/scsi/cd.c')
-rw-r--r--sys/scsi/cd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index 5c7361a240e..3ea9251bd74 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd.c,v 1.123 2007/04/26 11:18:54 krw Exp $ */
+/* $OpenBSD: cd.c,v 1.124 2007/04/28 02:24:21 krw Exp $ */
/* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */
/*
@@ -259,7 +259,7 @@ cddetach(self, flags)
cd_kill_buffers(cd);
- /* locate the minor number */
+ /* Locate the lowest minor number to be detached. */
mn = DISKMINOR(self->dv_unit, 0);
for (bmaj = 0; bmaj < nblkdev; bmaj++)