tape: changer: sg_pt: fix typo

ok, since its a private struct

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-07-21 16:04:50 +02:00 committed by Dietmar Maurer
parent 62a0e190cb
commit c1feb447e8

View File

@ -536,7 +536,7 @@ impl SubHeader {
#[repr(C, packed)]
#[derive(Endian)]
struct TrasnsportDescriptor { // Robot/Griper
struct TransportDescriptor { // Robot/Griper
element_address: u16,
flags1: u8,
reserved_3: u8,
@ -665,7 +665,7 @@ fn decode_element_status_page(
match subhead.element_type_code {
1 => {
let desc: TrasnsportDescriptor = unsafe { reader.read_be_value()? };
let desc: TransportDescriptor = unsafe { reader.read_be_value()? };
let full = (desc.flags1 & 1) != 0;
let volume_tag = subhead.parse_optional_volume_tag(&mut reader, full)?;