[pbs-devel] [PATCH proxmox-backup 4/4] tape: typo fixes
Dominik Csapak
d.csapak at proxmox.com
Thu Mar 30 13:28:45 CEST 2023
the field is not currently used anywhere
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
pbs-tape/src/sgutils2.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pbs-tape/src/sgutils2.rs b/pbs-tape/src/sgutils2.rs
index 91444cec..0b894717 100644
--- a/pbs-tape/src/sgutils2.rs
+++ b/pbs-tape/src/sgutils2.rs
@@ -192,7 +192,7 @@ pub struct RequestSenseFixed {
pub command_specific_information: [u8; 4],
pub additional_sense_code: u8,
pub additional_sense_code_qualifier: u8,
- pub field_replacable_unit_code: u8,
+ pub field_replaceable_unit_code: u8,
pub sense_key_specific: [u8; 3],
}
@@ -873,7 +873,7 @@ pub fn scsi_mode_sense<F: AsRawFd, P: Endian>(
.map_err(|err: Error| format_err!("decode mode sense failed - {}", err))
}
-/// Resuqest Sense
+/// Request Sense
pub fn scsi_request_sense<F: AsRawFd>(file: &mut F) -> Result<RequestSenseFixed, ScsiError> {
// request 252 bytes, as mentioned in the Seagate SCSI reference
let allocation_len: u8 = 252;
--
2.30.2
More information about the pbs-devel
mailing list