Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Jan 25, 2024
1 parent b77b1ad commit 0a8b01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/devices/mode_page_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ void mode_page_util::ModeSelect(scsi_command cmd, cdb_t cdb, span<const uint8_t>
warn(
"Sector size change from {} to {} bytes per sector requested. Configure the requested sector size in the s2p settings.",
sector_size, requested_size);
throw scsi_exception(sense_key::illegal_request, asc::invalid_field_in_parameter_list);
}
throw scsi_exception(sense_key::illegal_request, asc::invalid_field_in_parameter_list);
}

break;
Expand Down

0 comments on commit 0a8b01b

Please sign in to comment.