summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2003-10-15 18:52:44 +0000
committerps <ps@FreeBSD.org>2003-10-15 18:52:44 +0000
commit58d350029a56f925db4006cb25d59dfae3bdeb66 (patch)
treea22b89916055b3cf23781912f8dc58e431c1a9cc /sys
parentbaa5cf51cdbaadabdadd520103d4a5a1fdb91448 (diff)
downloadFreeBSD-src-58d350029a56f925db4006cb25d59dfae3bdeb66.zip
FreeBSD-src-58d350029a56f925db4006cb25d59dfae3bdeb66.tar.gz
Print the correct logical drive lun number returned by the controller.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ciss/ciss.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c
index 14224a1..96899b6 100644
--- a/sys/dev/ciss/ciss.c
+++ b/sys/dev/ciss/ciss.c
@@ -1152,7 +1152,8 @@ ciss_identify_logical(struct ciss_softc *sc, struct ciss_ldrive *ld)
*/
if (bootverbose) {
ciss_printf(sc, "logical drive %d: %s, %dMB ",
- cbc->log_drive, ciss_name_ldrive_org(ld->cl_ldrive->fault_tolerance),
+ ld->cl_address.logical.lun,
+ ciss_name_ldrive_org(ld->cl_ldrive->fault_tolerance),
((ld->cl_ldrive->blocks_available / (1024 * 1024)) *
ld->cl_ldrive->block_size));
OpenPOWER on IntegriCloud