diff --git a/src/uu/od/src/input_offset.rs b/src/uu/od/src/input_offset.rs index 8e5dcffb6..4938833f5 100644 --- a/src/uu/od/src/input_offset.rs +++ b/src/uu/od/src/input_offset.rs @@ -51,8 +51,8 @@ impl InputOffset { match (self.radix, self.label) { (Radix::Decimal, None) => format!("{:07}", self.byte_pos), (Radix::Decimal, Some(l)) => format!("{:07} ({l:07})", self.byte_pos), - (Radix::Hexadecimal, None) => format!("{:06X}", self.byte_pos), - (Radix::Hexadecimal, Some(l)) => format!("{:06X} ({l:06X})", self.byte_pos), + (Radix::Hexadecimal, None) => format!("{:06x}", self.byte_pos), + (Radix::Hexadecimal, Some(l)) => format!("{:06x} ({l:06x})", self.byte_pos), (Radix::Octal, None) => format!("{:07o}", self.byte_pos), (Radix::Octal, Some(l)) => format!("{:07o} ({l:07o})", self.byte_pos), (Radix::NoPrefix, None) => String::new(),