Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151537585
D19408.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
807 B
Referenced Files
None
Subscribers
None
D19408.diff
View Options
Index: head/sbin/camcontrol/camcontrol.c
===================================================================
--- head/sbin/camcontrol/camcontrol.c
+++ head/sbin/camcontrol/camcontrol.c
@@ -2292,7 +2292,7 @@
/*command*/command,
/*features*/0,
/*lba*/0,
- /*sector_count*/(u_int8_t)sizeof(struct ata_params),
+ /*sector_count*/0,
/*data_ptr*/(u_int8_t *)ptr,
/*dxfer_len*/sizeof(struct ata_params),
/*timeout*/timeout ? timeout : 30 * 1000,
@@ -2312,8 +2312,7 @@
/*command*/retry_command,
/*features*/0,
/*lba*/0,
- /*sector_count*/(u_int8_t)
- sizeof(struct ata_params),
+ /*sector_count*/0,
/*data_ptr*/(u_int8_t *)ptr,
/*dxfer_len*/sizeof(struct ata_params),
/*timeout*/timeout ? timeout : 30 * 1000,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 10, 2:07 AM (43 m, 9 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31189172
Default Alt Text
D19408.diff (807 B)
Attached To
Mode
D19408: camcontrol: possibly wrong sector count in ata_do_identify()
Attached
Detach File
Event Timeline
Log In to Comment