From 9195c7ea247dfa1231f6f47dd3cc91f7d11d3fdc Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Thu, 21 Dec 2017 07:23:50 +0000 Subject: [PATCH] Corrected minor bug in decoding SCSI MODE PAGE 00h. --- SCSI/Modes/00_SFF.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SCSI/Modes/00_SFF.cs b/SCSI/Modes/00_SFF.cs index 70fa358..ff2f6b9 100644 --- a/SCSI/Modes/00_SFF.cs +++ b/SCSI/Modes/00_SFF.cs @@ -113,8 +113,7 @@ namespace DiscImageChef.Decoders.SCSI if(!page.SLM) return sb.ToString(); sb.Append("\tDrive has two LUNs with rewritable being "); - if(page.SLM) sb.AppendLine("LUN 1"); - else sb.AppendLine("LUN 0"); + sb.AppendLine(page.SLR ? "LUN 1" : "LUN 0"); return sb.ToString(); }