Commit 63a69ee0 authored by Victor Kotlyar's avatar Victor Kotlyar
Browse files

fixed sense buffer setup for LinuxSGIO_t to allow to fill sense buffer

from SCSI level.
parent cd8e76c5
......@@ -74,7 +74,7 @@ namespace SCSI {
if (sizeof(T) > UCHAR_MAX)
throw Tape::Exception("sense structure too big in LinuxSGIO_t::setSense");
sb_len_wr = (unsigned char) sizeof(T);
mx_sb_len = (unsigned char) sizeof(T);
sbp = (unsigned char *)senseBuff;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment