Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171137356
D14369.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
909 B
Referenced Files
None
Subscribers
None
D14369.id.diff
View Options
Index: head/sys/cam/scsi/scsi_cd.c
===================================================================
--- head/sys/cam/scsi/scsi_cd.c
+++ head/sys/cam/scsi/scsi_cd.c
@@ -1057,6 +1057,7 @@
cdp = &softc->params;
announce_buf = softc->announce_temp;
+ bzero(announce_buf, CD_ANNOUNCETMP_SZ);
rdcap = (struct scsi_read_capacity_data *)csio->data_ptr;
@@ -1127,7 +1128,7 @@
&sense_key_desc,
&asc_desc);
snprintf(announce_buf,
- sizeof(announce_buf),
+ CD_ANNOUNCETMP_SZ,
"Attempt to query device "
"size failed: %s, %s",
sense_key_desc,
@@ -1138,7 +1139,7 @@
&& (csio->scsi_status ==
SCSI_STATUS_BUSY)) {
snprintf(announce_buf,
- sizeof(announce_buf),
+ CD_ANNOUNCETMP_SZ,
"Attempt to query device "
"size failed: SCSI Status: %s",
scsi_status_string(csio));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Sep 9, 10:48 PM (5 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38617180
Default Alt Text
D14369.id.diff (909 B)
Attached To
Mode
D14369: Fix "cd0: Attempt"
Attached
Detach File
Event Timeline
Log In to Comment