Print the correct logical drive lun number returned by the controller.

This commit is contained in:
Paul Saab 2003-10-15 18:52:44 +00:00
parent b35a1e5d66
commit 79adbf76d0

View File

@ -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));