Page MenuHomeFreeBSD

D48685.diff
No OneTemporary

D48685.diff

diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c
--- a/sys/cam/scsi/scsi_all.c
+++ b/sys/cam/scsi/scsi_all.c
@@ -3419,7 +3419,15 @@
ascentrycomp);
if (found_entry) {
+ /*
+ * If we get to the SSQ_RANGE entry, we're one too
+ * far. The prior entry is the interesting one, since it
+ * contains the string to print, etc. Only the top end
+ * range is interesting in this entry.
+ */
*asc_entry = (struct asc_table_entry *)found_entry;
+ if (((*asc_entry)->action & SSQ_RANGE) != 0)
+ (*asc_entry)--;
break;
}
}

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 11, 6:19 AM (20 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31272986
Default Alt Text
D48685.diff (576 B)

Event Timeline