TESTS: Initialize is_usb or else it will be very seldom that is_usb==0 and thus we dont truncate the transferlengths
This commit is contained in:
@@ -898,7 +898,7 @@ main(int argc, char *argv[])
|
|||||||
struct scsi_task *rc16_task = NULL;
|
struct scsi_task *rc16_task = NULL;
|
||||||
struct scsi_task *rsop_task = NULL;
|
struct scsi_task *rsop_task = NULL;
|
||||||
int full_size;
|
int full_size;
|
||||||
int is_usb;
|
int is_usb = 0;
|
||||||
static struct option long_opts[] = {
|
static struct option long_opts[] = {
|
||||||
{ "help", no_argument, 0, '?' },
|
{ "help", no_argument, 0, '?' },
|
||||||
{ "list", no_argument, 0, 'l' },
|
{ "list", no_argument, 0, 'l' },
|
||||||
|
|||||||
Reference in New Issue
Block a user