Use the correct type for the length argument to lba2cdb.

This commit is contained in:
agc 2006-04-02 10:46:47 +00:00
parent 8b20725dfb
commit 9be1dc8d96
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ write_read_test(uint64_t target, uint32_t lun, int type)
uint8_t data[4096], cdb[16];
initiator_cmd_t cmd;
iscsi_scsi_cmd_args_t args;
int len = 1;
int16_t len = 1;
int i, j;
if ((type != 6) && (type != 10)) {