From 99444aceeba2c8eda7382b98cc2f617051e230de Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Tue, 10 Dec 2024 15:01:48 +0100 Subject: [PATCH] Update INQUIRY --- cpp/s2pdump/s2pdump_executor.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/cpp/s2pdump/s2pdump_executor.cpp b/cpp/s2pdump/s2pdump_executor.cpp index bd1df383..b47a60f5 100644 --- a/cpp/s2pdump/s2pdump_executor.cpp +++ b/cpp/s2pdump/s2pdump_executor.cpp @@ -31,7 +31,6 @@ void S2pDumpExecutor::RequestSense() const bool S2pDumpExecutor::Inquiry(span buffer) { vector cdb(6); - cdb[3] = static_cast(buffer.size() >> 8); cdb[4] = static_cast(buffer.size()); return !initiator_executor->Execute(scsi_command::inquiry, cdb, buffer, static_cast(buffer.size()));