Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144538199
D40528.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
816 B
Referenced Files
None
Subscribers
None
D40528.diff
View Options
diff --git a/sbin/camcontrol/zone.c b/sbin/camcontrol/zone.c
--- a/sbin/camcontrol/zone.c
+++ b/sbin/camcontrol/zone.c
@@ -138,7 +138,6 @@
struct scsi_report_zones_desc *desc = NULL;
uint32_t hdr_len, len;
uint64_t max_lba, next_lba = 0;
- int more_data = 0;
zone_print_status status = ZONE_PRINT_OK;
char tmpstr[80];
int field_widths[ZONE_NUM_FIELDS];
@@ -168,7 +167,6 @@
}
if (hdr_len > (valid_len + sizeof(*hdr))) {
- more_data = 1;
status = ZONE_PRINT_MORE_DATA;
}
@@ -592,7 +590,7 @@
/*retry_count*/ retry_count,
/*flags*/ CAM_DIR_NONE | CAM_DEV_QFRZDIS,
/*tag_action*/ task_attr,
- /*protocol*/ AP_PROTO_NON_DATA,
+ /*protocol*/ protocol,
/*ata_flags*/ AP_FLAG_BYT_BLOK_BYTES |
AP_FLAG_TLEN_NO_DATA,
/*features*/ features,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 10, 8:16 AM (3 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28618495
Default Alt Text
D40528.diff (816 B)
Attached To
Mode
D40528: camcontrol: Zone fix two warnings
Attached
Detach File
Event Timeline
Log In to Comment