Page MenuHomeFreeBSD

D48685.1777099092.diff
No OneTemporary

Size
576 B
Referenced Files
None
Subscribers
None

D48685.1777099092.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 25, 6:38 AM (15 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28427074
Default Alt Text
D48685.1777099092.diff (576 B)

Event Timeline