diff --git a/src/pxar/format_definition.rs b/src/pxar/format_definition.rs index f71f302e..ff533824 100644 --- a/src/pxar/format_definition.rs +++ b/src/pxar/format_definition.rs @@ -313,7 +313,7 @@ pub fn compute_goodbye_hash(name: &[u8]) -> u64 { pub fn check_ca_header(head: &CaFormatHeader, htype: u64) -> Result<(), Error> { if head.htype != htype { - bail!("got wrong header type ({:016x} != {:016x}", head.htype, htype); + bail!("got wrong header type ({:016x} != {:016x})", head.htype, htype); } if head.size != (std::mem::size_of::() + std::mem::size_of::()) as u64 { bail!("got wrong header size for type {:016x}", htype);