Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment